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.3.0.33526 (08.10.2025)+e4d6269d444890d28afbdf39a4add0d0ad0df4f2
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