Skip to main content

Delegation Properties

An object defining properties for the Delegation class.

From

Information about the user who initiated the delegation.

Type: ClientUserInfo


BasedType

Specifies the basis type for the delegation, defining the origin or foundation of the delegation.

Type: BasedType
Accepted Values:

NameValue
None0
User1
Project2

InternalAccessTokenId

Access token ID, populated only after creating a delegation.

Type: string


Id

Unique identifier for the delegation.

Type: long


IsActive

Indicates whether the delegation is currently active.

Type: bool


DeletedBy

Information about the user who deleted the delegation.

Type: ClientUserInfo


CreationType

Specifies the creation type for the delegation, indicating how it was generated or categorized.

Type: CreationType
Accepted Values:

NameValue
Simple0
Advance1

To

Information about the user to whom the delegation is assigned.

Type: ClientUserInfo


Positions

A list of PositionInfo objects representing positions associated with the delegation.

Type: List<PositionInfo>


ModifiedBy

Information about the user who last modified the delegation.

Type: ClientUserInfo


PositionIds

A list of position IDs associated with the delegation given user positions.

Type: long[]


StartDate

Specifies the start date and time of the delegation.

Type: DateTimeOffset


Type

The DelegationType enum defines the types of delegation available, specifying different modes of access or authorization. In this enum Delegation means this delegation given to spesific user with specific permissions that decided by user. On the other hand Token act like access token with spesific that decided by user.

Type: DelegationType
Accepted Values:

NameValue
Delegation0
Token1

SecretKey

Secret key associated with the delegation.

Type: string

See Also

  • SecretKeys todo

Name

Defines the multi language name of the delegation by culture.

Type: Dictionary<string, string>

See Also

  • //todo

EndDate

End date and time for the delegation, indicating when it should expire. If its set to null, that means delegation doesn't have expiration date.

Type: DateTimeOffset?


AccessTokenId

Access token ID, populated only after creating a delegation.

Type: string


ModifiedAt

The date and time when the delegation was last modified.

Type: DateTimeOffset?


TokenId

Token ID associated with the delegation.

Type: string


Scope

Defines the list of permission to can be allowed with delegation.

Type: List<string>

Note

If user that creates delegation; does not have a particular permission/permissions or its taken from user after delegation or access token created. Delegation or access token won't allow that permission. Permissions can only intersect with given user's active permissions.


DeletedAt

The date and time when the delegation was deleted.

Type: DateTimeOffset?


CreatedAt

The date and time when the delegation was created.

Type: DateTimeOffset


CreatedBy

Information about the user who created the delegation.

Type: ClientUserInfo