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

Loads the user permissions as a array of UserPermissionData.

C#
public UserPermissionData[] GetUserPermissions(Long Id, String ItemType, Long UserId, String UserGroupList, Optional ByVal PermissionUserType PermissionType, Optional ByVal PermissionRequestType PermissionRequest);
Visual Basic
Public Function GetUserPermissions(ByVal Id As Long, ByVal ItemType As String, ByVal UserId As Long, ByVal UserGroupList As String, Optional ByVal PermissionType As PermissionUserType = PermissionUserType.All, Optional ByVal PermissionRequest As PermissionRequestType = PermissionRequestType.All) As UserPermissionData()
Parameters 
Description 
Id 
The item's ID (content or folder id whose permissions you are seeking). 
ItemType 
The item's type (valid values - content or folder). 
UserId 
The user's ID (when you are getting permissions for a group set this to zero). 
UserGroupList 
The group list (comma separated list of group ids, blank when you are getting permissions for a specific user). 
PermissionType 
PermissionUserType (Use a value from enum Ektron.Cms.Content.EkContent.PermissionResultType). 
PermissionRequest 
PermissionRequestType (Use a value from enum Ektron.Cms.Content.EkContent.PermissionRequestType). 

Ektron.Cms.UserPermissionData()

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!