Click or drag to resize
PermissionNameInfoProviderGetPermissionNameInfoForResource Method
Returns the permission name info object for the resource.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 8.2.23
Syntax
C#
public static PermissionNameInfo GetPermissionNameInfoForResource(
	string resourceName,
	string permissionName,
	string siteName
)

Parameters

resourceName
Type: SystemString
Name of the resource 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