Click or drag to resize

OrganisationUnitManagerAddOrganisationUnitUser Method (PsrOrganisationUnitUser, String, NullableGuid)

Adds the organisation unit user

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.6.33415 (22.09.2025)+55d4baaf8f17ebe942fa8931c5994288899c2371
Syntax
C#
public Task<PsrOrganisationUnitUser> AddOrganisationUnitUser(
	PsrOrganisationUnitUser user,
	string password,
	Nullable<Guid> parentOrganisationUnitId = null
)

Parameters

user
Type: PsrApi.DataPsrOrganisationUnitUser
User that should be added
password
Type: SystemString
The password of the user which is used to authenticate
parentOrganisationUnitId (Optional)
Type: SystemNullableGuid
(optional) ID of the parent organisation unit.

Return Value

Type: TaskPsrOrganisationUnitUser
See Also