AssigneeContainer Methods |
The AssigneeContainer type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(Int32) |
Use this method only if the id is for a well-known usergroup or for the identity user.
| |
| Add(Assignee) | ||
| Add(AssigneeContainer) | ||
| Add(User) | ||
| Add(IEnumerableUser) | ||
| Add(UserGroup) | ||
| Add(IEnumerableUserGroup) | ||
| Add(UserInfo) | ||
| Add(AssigneeContainer, Boolean) | ||
| Add(Int32, String, String) |
Use this method if the assignee is a user (and not a group).
| |
| Add(Int32, String, Boolean, IEnumerableInt32) |
Use this method if the assignee is a group (and not a user).
| |
| Clear | ||
| ClearAndAdd(Assignee) | ||
| ClearAndAdd(AssigneeContainer) | ||
| ClearAndAdd(User) | ||
| ClearAndAdd(UserGroup) | ||
| Clone | ||
| Contains(Int32) |
Returns whether the container contains a directly assigned assignee (user or group).
| |
| Contains(Int32, Boolean) |
Returns whether the container contains an assignee (user or group).
| |
| ContainsAny |
Returns whether the container contains any of a specified set of assignees.
If checkIndirectAssignments is true members of the assignee groups are examined as well.
| |
| ContainsExactly(IEnumerableInt32) |
Returns true if the AssigneeContainer contains (directly assigned) exactly the assignees specified in assigneeIds (no more - no less).
Duplets in assigneeIds are ignored.
| |
| ContainsExactly(Int32) |
Returns whether the container EXACTLY contains a directly assigned assignee (user or group).
| |
| ContainsExactlyIdentityUser |
Returns true if the AssigneeContainer contains (directly assigned) exactly the identity user.
| |
| ContainsIdentityUser |
Returns whether any of the assignees is the identity user.
| |
| ContainsUser |
Returns whether the container contains a (any) directly assigned user.
| |
| GetAllAssigneeIds |
Returns the ids of all the (directly assigned) assignees in the container (user and group ids).
If specified all members of the (directly assigned) assignee groups are returned as well.
| |
| GetAllUserIds |
Returns all assigned userids (either directly or indirectly).
| |
| GetById | ||
| GetByIdCheck | ||
| GetByIds | ||
| GetByIdsCheck | ||
| GetDisplayValue | ||
| GetDisplayValue(Int32) | ||
| GetEnumerator | ||
| GetFirstAssignee |
Returns the first assignee in the container - or null if it is empty!
| |
| IndexOf | ||
| Remove |
Removes an assignee from the container.
The id can be for either a user or group.
If the id can't be found nothing happens.
| |
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |