Click or drag to resize
CMSGroupPageCheckGroupPermissions Method (Int32, String, Boolean)
Check whether user is group administrator or has manage permission.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
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: Boolean
See Also