OrganisationUnitManagerAddOrganisationUnitGroup Method |
Adds the new organisation unit group and adds a data right for the current user.
Namespace:
PsrApi.Managers
Assembly:
PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntaxpublic Task<PsrOrganisationUnitGroup> AddOrganisationUnitGroup(
PsrOrganisationUnitGroup group,
byte[] publicKey,
byte[] encryptedGroupPrivateKey,
Nullable<Guid> parentOrganisationUnitId = null
)
Parameters
- group
- Type: PsrApi.DataPsrOrganisationUnitGroup
Group that should be added. - publicKey
- Type: SystemByte
Public key of the key pair of the group. - encryptedGroupPrivateKey
- Type: SystemByte
Encrypted private key of the key pair of the group. - parentOrganisationUnitId (Optional)
- Type: SystemNullableGuid
(optional) ID of the parent organisation unit.
Return Value
Type:
TaskPsrOrganisationUnitGroup
See Also