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.6.33415 (22.09.2025)+55d4baaf8f17ebe942fa8931c5994288899c2371
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