IManagedGroupsContains Method |
Returns true if the user can manage the group with the specified id
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax bool Contains(
int groupId
)
Function Contains (
groupId As Integer
) As Boolean
bool Contains(
int groupId
)
Parameters
- groupId
- Type: SystemInt32
Id of group to verify
Return Value
Type:
BooleanReturns true if the user can manage the group
Remarks
This method will recursively check if the group is managed by the user.
If the user have the permission to manage all groups or
IsSuperAdmin is true for the user,
this method will always return true.
See Also