CreateDelegationRequest Properties
An object defining properties for the CreateDelegationRequest class.
EndDate
Defines the end date of the delegation. If it's set to null, delegation won't have a expire date.
Type: DateTimeOffset?
To
Defines the user id. It doesn't affect anything if (delegation type)[Bimser.Synergy.Entities.WebInterface.Common.Enums.DelegationType] selected as Token
.
Scope
Defines the list of permission to can be allowed with delegation.
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.
CreationType
Specifies the creation type for the delegation, indicating how it was generated or categorized.
Type: CreationType
Accepted Values:
Name Value Simple 0 Advance 1
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:
Name Value Delegation 0 Token 1
PositionIds
A list of position IDs associated with the delegation given user positions.
Name
Defines the multi language name of the delegation by culture.
Type: Dictionary<string, string>
See Also
- //todo
BasedType
Specifies the basis type for the delegation, defining the origin or foundation of the delegation.
Type: BasedType
Accepted Values:
Name Value None 0 User 1 Project 2
StartDate
Defines the start date of the delegation.
Type: DateTimeOffset