CMSDeskPage.CheckGroupPermissions Method |
Check whether user is group administrator or has manage permission.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntaxpublic static bool CheckGroupPermissions(
int groupId,
string permissionName,
bool autoRedirect = true
)
Parameters
- groupId
- Type: System.Int32
Community group ID - permissionName
- Type: System.String
Permission name - autoRedirect (Optional)
- Type: System.Boolean
Indicates whether user should be redirected to the access denied page
Return Value
Type:
Boolean
See Also