PermissionNameInfoProviderGetPermissionsWhereCondition Method |
Gets the where condition to limit permissions for specific resource and role.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax public static string GetPermissionsWhereCondition(
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:
StringSee Also