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.4.33163 (18.08.2025)+dec6f51c484240b8abaa8be3c442061ed610820b
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