PermissionNameInfoProviderGetPermissionMatrix Method (Int32, String, Int32, Int32, Boolean) |
Returns the permission matrix.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax public static DataSet GetPermissionMatrix(
int permissionId,
string permissionType,
int siteId,
int roleGroupId,
bool displayInMatrix
)
Parameters
- permissionId
- Type: SystemInt32
Permission name ID - permissionType
- Type: SystemString
Permission type - siteId
- Type: SystemInt32
Site ID - roleGroupId
- Type: SystemInt32
Group ID the roles should belong to - displayInMatrix
- Type: SystemBoolean
Return permission displayed in matrix
Return Value
Type:
DataSetSee Also