PermissionNameInfoProviderGetPermissionMatrix Method (Int32, String, Int32, Int32, Boolean) |
Note: This API is now obsolete.
Returns the permission matrix.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("This method should no longer be used and will be removed in the next version.")]
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