PermissionNameInfoProviderGetPermissions Method |
Gets the DataSet of the permissions for specific resource and role.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntaxpublic 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:
InfoDataSetPermissionNameInfo
See Also