You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.User Namespace > Classes > User Class > User Methods > IsARoleMemberForFolder
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
User.IsARoleMemberForFolder Method

Determines whether a Role Member is allowed to work with a given folder as an administrator or not. Administrations privileges are for the given folder 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 IsARoleMemberForFolder(Long RoleId, Long FolderId, Optional ByVal Long nUserId, Optional ByVal Boolean GroupFlag);
Visual Basic
Public Function IsARoleMemberForFolder(ByVal RoleId As Long, ByVal FolderId As Long, Optional ByVal nUserId As Long = 0, Optional ByVal GroupFlag As Boolean = False) As Boolean
Parameters 
Description 
RoleId 
 
FolderId 
The numeric folder ID for which you are giving the Role Member privileges. 
nUserId 
 
GroupFlag 
 

True if granted otherwise false

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!