Click or drag to resize
PermissionNameInfoProviderGetPermissions Method
Gets the DataSet of the permissions for specific resource and role.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax
C#
public static InfoDataSet<PermissionNameInfo> GetPermissions(
	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: InfoDataSetPermissionNameInfo
See Also