Table of Contents

Class ChangeUserPasswordRequest

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

Request body for POST /users/{id}/changepassword (self-service, old-password-verified).

public sealed record ChangeUserPasswordRequest : IChangeUserPasswordRequest
Inheritance
object
ChangeUserPasswordRequest
Implements

Constructors

ChangeUserPasswordRequest(string?, string)

Request body for POST /users/{id}/changepassword (self-service, old-password-verified).

public ChangeUserPasswordRequest(string? OldPassword, string NewPassword)

Parameters

OldPassword string

The user's current password, which authorizes the change. A null one is refused like an empty one.

NewPassword string

The new password. Has to meet the server's password policy.

Properties

NewPassword

The new password. Has to meet the server's password policy.

[JsonPropertyName("newPassword")]
public string NewPassword { get; init; }

Property Value

string

OldPassword

The user's current password, which authorizes the change. A null one is refused like an empty one.

[JsonPropertyName("oldPassword")]
public string? OldPassword { get; init; }

Property Value

string