You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.User 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.

C#
public Boolean IsARoleMemberForContent(Long RoleId, Long ContentId, Optional ByVal Long nUserId, Optional ByVal Boolean GroupFlag);
Visual Basic
Public Function IsARoleMemberForContent(ByVal RoleId As Long, ByVal ContentId As Long, Optional ByVal nUserId As Long = 0, Optional ByVal GroupFlag As Boolean = False) As Boolean
Parameters 
Description 
RoleId 
 
ContentId 
The numeric content ID for which you are giving the Role Member privileges. 
nUserId 
 
GroupFlag 
 
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!