Skip to main content

CreateDelegationRequest

The CreateDelegationRequest class contains the information necessary to create a new delegation.

Properties

NameDescription
EndDateDefines the end date of the delegation. If it's set to null, delegation won't have a expire date.
ToDefines the user id. It doesn't affect anything if (delegation type)[Bimser.Synergy.Entities.WebInterface.Common.Enums.DelegationType] selected as Token.
ScopeDefines the list of permission to can be allowed with delegation.
CreationTypeSpecifies the creation type for the delegation, indicating how it was generated or categorized.
TypeThe 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.
PositionIdsA list of position IDs associated with the delegation given user positions.
NameDefines the multi language name of the delegation by culture.
BasedTypeSpecifies the basis type for the delegation, defining the origin or foundation of the delegation.
StartDateDefines the start date of the delegation.

Constructors

NameDescription
CreateDelegationRequest()Initializes a new instance of the CreateDelegationRequest class.
CreateDelegationRequest(name, type, to, startDate, endDate, scope, positionIds, creationType, basedType)Initializes a new instance of the CreateDelegationRequest class with specified details for delegation creation.