UserInfoProvider.GetUserPermissions Method |
Returns the DataSet of user permissions for permission type specified by ID.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntaxprotected virtual DataSet GetUserPermissions(
UserInfo user,
int siteId,
int permissionTypeId,
string permissionType,
bool displayedOnly,
string columns
)
Parameters
- user
- Type: CMS.Membership.UserInfo
User info object - siteId
- Type: System.Int32
Site ID - permissionTypeId
- Type: System.Int32
ID identifying the permission - permissionType
- Type: System.String
Type of the permission(class or resource) - displayedOnly
- Type: System.Boolean
Indicates if only visible permissions should be get - columns
- Type: System.String
Columns to get
Return Value
Type:
DataSet
See Also