UserInfoProviderGetUserResourcePermissions Method |
Returns the DataSet with user permissions for specified resource.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntaxpublic 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:
DataSet
See Also