Click or drag to resize

OrganisationUnitManagerChangeOrganisationUnitPassword Method

Changes the password of the user with the given ID.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public Task ChangeOrganisationUnitPassword(
	Guid userId,
	byte[] oldHash,
	byte[] newHash,
	byte[] newSalt,
	byte[] newEncryptedPrivateKey,
	Nullable<MtoHashAlgorithm> hashAlgorithm
)

Parameters

userId
Type: SystemGuid
oldHash
Type: SystemByte
newHash
Type: SystemByte
newSalt
Type: SystemByte
newEncryptedPrivateKey
Type: SystemByte
hashAlgorithm
Type: SystemNullableMtoHashAlgorithm

Return Value

Type: Task
See Also