You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > User Class > User Methods > IsARoleMemberForContent
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
User.IsARoleMemberForContent Method

Determines whether a Role Member is allowed to work with a given piece of content as an administrator or not. Administrations privileges are for the given piece of content only. Roles provide the ability to offload/delegate some of the administrator's tasks onto other users, without giving full administration privileges to a user. 

This method can be accessed through the User.asmx file located in:

~/Workarea/webservices/WebServiceAPI/User/User.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "IsARoleMemberForContent", Description = "")]
public bool IsARoleMemberForContent(long RoleId, long ContentId, long UserId, bool GroupFlag);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "IsARoleMemberForContent", Description = "")>
Public Function IsARoleMemberForContent(RoleId As long, ContentId As long, UserId As long, GroupFlag As bool) As bool
Parameters 
Description 
RoleId 
 
ContentId 
The numeric content ID for which you are giving the Role Member privileges. 
GroupFlag 
 
nUserId 
 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!