Click or drag to resize
UserInfoProviderGetUserPermissions Method
Returns the DataSet of user permissions for permission type specified by ID.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
protected virtual DataSet GetUserPermissions(
	UserInfo user,
	int siteId,
	int permissionTypeId,
	string permissionType,
	bool displayedOnly,
	string columns
)

Parameters

user
Type: CMS.MembershipUserInfo
User info object
siteId
Type: SystemInt32
Site ID
permissionTypeId
Type: SystemInt32
ID identifying the permission
permissionType
Type: SystemString
Type of the permission(class or resource)
displayedOnly
Type: SystemBoolean
Indicates if only visible permissions should be get
columns
Type: SystemString
Columns to get

Return Value

Type: DataSet
See Also