Click or drag to resize
CMSDeskPageCheckGroupPermissions Method
Check whether user is group administrator or has manage permission.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntax
C#
public static bool CheckGroupPermissions(
	int groupId,
	string permissionName,
	bool autoRedirect = true
)

Parameters

groupId
Type: SystemInt32
Community group ID
permissionName
Type: SystemString
Permission name
autoRedirect (Optional)
Type: SystemBoolean
Indicates whether user should be redirected to the access denied page

Return Value

Type: Boolean
See Also