Click or drag to resize
PermissionNameInfoProviderGetPermissionMatrix Method (Int32, String, Int32, Int32, Boolean)
Returns the permission matrix.

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