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: 8.13.13.27522 (14.03.2022)
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