GroupInfoProviderCheckPermission Method |
Returns true if CurrentUser is authorized for the specified action in the group.
Namespace: CMS.CommunityAssembly: CMS.Community (in CMS.Community.dll) Version: 8.2.23
Syntax 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:
BooleanSee Also