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.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
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