UserInfoProviderGetUserResourcePermissions Method |
Returns the DataSet with user permissions for specified resource.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax public static DataSet GetUserResourcePermissions(
UserInfo user,
int siteId,
int resourceId,
bool displayedOnly,
string columns
)
Parameters
- user
- Type: CMS.MembershipUserInfo
User info object - siteId
- Type: SystemInt32
Site ID - resourceId
- Type: SystemInt32
ID of the resource - displayedOnly
- Type: SystemBoolean
Indicates if only visible permissions should be get - columns
- Type: SystemString
Columns to get
Return Value
Type:
DataSetSee Also