CMSGroupPageCheckGroupPermissions Method (Int32, String, Boolean) |
Check whether user is group administrator or has manage permission.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax public static bool CheckGroupPermissions(
int groupId,
string permissionName,
bool autoRedirect
)
Parameters
- groupId
- Type: SystemInt32
Community group ID - permissionName
- Type: SystemString
Permission name - autoRedirect
- Type: SystemBoolean
Indicates whether user should be redirected to the access denied page
Return Value
Type:
BooleanSee Also