EditDelegationRequest Constructors
An object defining constructors for the EditDelegationRequest class.
EditDelegationRequest()
Initializes a new instance of the EditDelegationRequest
class.
EditDelegationRequest(secretKey, name, type, startDate, endDate, scope, positionIds, creationType, basedType)
Initializes a new instance of the EditDelegationRequest
class with the specified details for editing the delegation.
Parameters:
secretKey (optional): string
The secret key associated with the delegation to be edited.
name (required): Dictionary<string, string>
Defines the multi language name of the delegation by culture.
type (required): DelegationType
TheDelegationType
enum defines the types of delegation available, specifying different modes of access or authorization. In this enumDelegation
means this delegation given to spesific user with specific permissions that decided by user. On the other handToken
act like access token with spesific that decided by user.
startDate (required): DateTimeOffset
Defines the start date of the delegation.
endDate (optional): DateTimeOffset?
Defines the end date of the delegation. If it's set to null, delegation won't have a expire date.
scope (required): List<string>
Defines the list of permission to can be allowed with delegation.
positionIds (optional): List<long>
A list of position IDs associated with the delegation given user positions.
creationType (required): CreationType
Specifies the creation type for the delegation, indicating how it was generated or categorized.
basedType (required): BasedType
Specifies the basis type for the delegation, defining the origin or foundation of the delegation.
See Also
- SecretKeys todo