Assignee Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class Assignee : IObjectWithId, IAssignee, ICloneable
The Assignee type exposes the following members.
| Name | Description | |
|---|---|---|
| Assignee(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.
| |
| Assignee(User) | ||
| Assignee(UserGroup) | ||
| Assignee(UserInfo) | ||
| Assignee(Int32, String, String) |
Use this constructor if the assignee is a user (and not a group).
| |
| Assignee(Int32, String, Boolean, IEnumerableInt32) |
Use this constructor if the assignee is a group (and not a user).
|
| Name | Description | |
|---|---|---|
| DisplayName | ||
| Id |
The id of either a user or user group.
| |
| IsGroup |
Is true if the assignee is a user group.
| |
| IsUser |
Is true if the assignee is a user.
| |
| MemberCount |
The number of members of the assignee (group).
If the assignee is a user then the member count is always one (1).
| |
| Name |
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.
|
| Name | Description | |
|---|---|---|
| Clone | ||
| GetMemberIds | ||
| HasAnyMember |
Returns true if at least one of the provided
users is assignee
| |
| HasIdentityUserAsMember |
Returns true if the active user is member of the assignee collection
| |
| HasMember |
Returns true if the provided user is assignee
| |
| IsWellKnownGroupId | ||
| 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.) |
| Name | Description | |
|---|---|---|
| IObjectWithId.GetId | ||
| IAssigneeDisplayName |
States the DisplayName of the assignee.
| |
| IAssigneeId |
States the Id of the assignee.
The Id is either a user Id or a (non personal) user group Id.
| |
| IAssigneeIsGroup |
States whether the assignee is a (non personal) user group.
| |
| IAssigneeIsUser |
States whether the assignee is a user.
| |
| IAssigneeMemberCount |
States the number of members of the assignee (group).
If the assignee is a user then the member count is always one (1).
| |
| IAssigneeName |
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.
|