Table of Contents

Class RoleAssignmentRequest

Namespace
BiExcellence.OpenBi.Api.Roles
Assembly
BiExcellence.OpenBi.Api.Client.dll

Optional extra fields when assigning a user/usergroup/organisation to a role.

public sealed record RoleAssignmentRequest : IRoleAssignmentRequest
Inheritance
object
RoleAssignmentRequest
Implements

Properties

AllowDelete

Whether the assignee may delete the role's content. false when no body is sent.

[JsonPropertyName("allowDelete")]
public bool AllowDelete { get; init; }

Property Value

bool

AllowEdit

Whether the assignee may edit the role's content. false when no body is sent.

[JsonPropertyName("allowEdit")]
public bool AllowEdit { get; init; }

Property Value

bool

ValidFrom

Start of the assignment's validity; the time of the assignment when left null.

[JsonPropertyName("validFrom")]
public DateTimeOffset? ValidFrom { get; init; }

Property Value

DateTimeOffset?

ValidTo

End of the assignment's validity; 30 days after the time of the assignment when left null.

[JsonPropertyName("validTo")]
public DateTimeOffset? ValidTo { get; init; }

Property Value

DateTimeOffset?