Click or drag to resize

Assignee Class

An assignee holds info of either a user or a user group. Only "real" groups can be used - not personal groups.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelAssignee

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class Assignee : IObjectWithId, IAssignee, 
	ICloneable

The Assignee type exposes the following members.

Constructors
  NameDescription
Public methodAssignee(Int32)
Use this constructor only if the id is for a well-known usergroup or for the identity user. Well-known user groups are: Process Creator, None.
Public methodAssignee(User)
Public methodAssignee(UserGroup)
Public methodAssignee(UserInfo)
Public methodAssignee(Int32, String, String)
Use this constructor if the assignee is a user (and not a group).
Public methodAssignee(Int32, String, Boolean, IEnumerableInt32)
Use this constructor if the assignee is a group (and not a user).
Top
Properties
  NameDescription
Public propertyDisplayName
Public propertyId
The id of either a user or user group.
Public propertyIsGroup
Is true if the assignee is a user group.
Public propertyIsUser
Is true if the assignee is a user.
Public propertyMemberCount
The number of members of the assignee (group). If the assignee is a user then the member count is always one (1).
Public propertyName
If the assignee is a user then Name specifies the username. If the assignee is a user group then Name specifies the name of the user group.
Top
Methods
  NameDescription
Public methodClone
Public methodGetMemberIds
Public methodHasAnyMember
Returns true if at least one of the provided users is assignee
Public methodHasIdentityUserAsMember
Returns true if the active user is member of the assignee collection
Public methodHasMember
Returns true if the provided user is assignee
Public methodStatic memberIsWellKnownGroupId
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
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithId.GetId
Explicit interface implementationPrivate propertyIAssigneeDisplayName
States the DisplayName of the assignee.
Explicit interface implementationPrivate propertyIAssigneeId
States the Id of the assignee. The Id is either a user Id or a (non personal) user group Id.
Explicit interface implementationPrivate propertyIAssigneeIsGroup
States whether the assignee is a (non personal) user group.
Explicit interface implementationPrivate propertyIAssigneeIsUser
States whether the assignee is a user.
Explicit interface implementationPrivate propertyIAssigneeMemberCount
States the number of members of the assignee (group). If the assignee is a user then the member count is always one (1).
Explicit interface implementationPrivate propertyIAssigneeName
States the Name of the assignee. If the assignee is a user then Name holds the username. If the assignee is a user group then Name holds the name of the user group.
Top
See Also