Click or drag to resize

AssigneeContainer Methods

The AssigneeContainer type exposes the following members.

Methods
  NameDescription
Public methodAdd(Int32)
Use this method only if the id is for a well-known usergroup or for the identity user.
Public methodAdd(Assignee)
Public methodAdd(AssigneeContainer)
Public methodAdd(User)
Public methodAdd(IEnumerableUser)
Public methodAdd(UserGroup)
Public methodAdd(IEnumerableUserGroup)
Public methodAdd(UserInfo)
Public methodAdd(AssigneeContainer, Boolean)
Public methodAdd(Int32, String, String)
Use this method if the assignee is a user (and not a group).
Public methodAdd(Int32, String, Boolean, IEnumerableInt32)
Use this method if the assignee is a group (and not a user).
Public methodClear
Public methodClearAndAdd(Assignee)
Public methodClearAndAdd(AssigneeContainer)
Public methodClearAndAdd(User)
Public methodClearAndAdd(UserGroup)
Public methodClone
Public methodContains(Int32)
Returns whether the container contains a directly assigned assignee (user or group).
Public methodContains(Int32, Boolean)
Returns whether the container contains an assignee (user or group).
Public methodContainsAny
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.
Public methodContainsExactly(IEnumerableInt32)
Returns true if the AssigneeContainer contains (directly assigned) exactly the assignees specified in assigneeIds (no more - no less). Duplets in assigneeIds are ignored.
Public methodContainsExactly(Int32)
Returns whether the container EXACTLY contains a directly assigned assignee (user or group).
Public methodContainsExactlyIdentityUser
Returns true if the AssigneeContainer contains (directly assigned) exactly the identity user.
Public methodContainsIdentityUser
Returns whether any of the assignees is the identity user.
Public methodContainsUser
Returns whether the container contains a (any) directly assigned user.
Public methodGetAllAssigneeIds
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.
Public methodGetAllUserIds
Returns all assigned userids (either directly or indirectly).
Public methodGetById
Public methodGetByIdCheck
Public methodGetByIds
Public methodGetByIdsCheck
Public methodGetDisplayValue
Public methodGetDisplayValue(Int32)
Public methodGetEnumerator
Public methodGetFirstAssignee
Returns the first assignee in the container - or null if it is empty!
Public methodIndexOf
Public methodRemove
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.
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also