Click or drag to resize
PermissionNameInfoProviderGetPermissionsWhereCondition Method
Gets the where condition to limit permissions for specific resource and role.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax
C#
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: String
See Also