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: 12.0.0
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