Click or drag to resize

IReachableGroupsContains Method

Returns true if the user/group can reach the group with the specified id.

Namespace:  AskiaPortalCmn.Common
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
bool Contains(
	int groupId
)

Parameters

groupId
Type: SystemInt32
Id of group to verify

Return Value

Type: Boolean
Returns true if the user/group can reach the group
Remarks
This method will recursively check if the group is reachable by the user/group.
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