| UserGroupIsMember Method (IListInt32, Boolean) |
Returns whether one or more users are a member of the group.
If the group is "Everyone" the method always returns true without actually checking.
Throws an error if the members of the group aren't available.
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic bool IsMember(
IList<int> userIds,
bool checkAll
)
Parameters
- userIds
- Type: System.Collections.GenericIListInt32
Must be valid userIds greater than zero.
If userIds is empty the method returns true.
- checkAll
- Type: SystemBoolean
If true all the stated userIds must be members of the group before the method can return true.
If false it is enough that just one user is a member.
Return Value
Type:
Boolean
See Also