PermissionNameInfoProviderGetPermissions Method |
Gets the DataSet of the permissions for specific resource and role.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax public static InfoDataSet<PermissionNameInfo> GetPermissions(
int resourceId,
int roleId
)
Parameters
- resourceId
- Type: SystemInt32
ID of the resource the permissions are included in - roleId
- Type: SystemInt32
ID of the role which is granted with requested permissions
Return Value
Type:
InfoDataSetPermissionNameInfoSee Also