Click or drag to resize
PermissionNameInfoProviderGetPermissionNameInfoForClass Method
Returns the permission name info object for the class.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 12.0.0
Syntax
C#
public static PermissionNameInfo GetPermissionNameInfoForClass(
	string className,
	string permissionName,
	string siteName
)

Parameters

className
Type: SystemString
Name of the class which permission depends to
permissionName
Type: SystemString
Name of the permission to retrieve
siteName
Type: SystemString
Site which the permission depends to

Return Value

Type: PermissionNameInfo
See Also