Click or drag to resize
GroupInfoProviderCheckPermission Method
Returns true if CurrentUser is authorized for the specified action in the group.

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 8.2.23
Syntax
C#
public static bool CheckPermission(
	string permissionName,
	int groupId
)

Parameters

permissionName
Type: SystemString
Name of the permission to check (createpages, editpages, deletepages)
groupId
Type: SystemInt32
Group ID

Return Value

Type: Boolean
See Also