Click or drag to resize

OrganisationUnitManager Class

Contains methods to manipulate organisation units.
Inheritance Hierarchy
SystemObject
  PsrApi.ManagersBaseManager
    PsrApi.ManagersOrganisationUnitManager

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public class OrganisationUnitManager : BaseManager

The OrganisationUnitManager type exposes the following members.

Methods
  NameDescription
Public methodAddOrganisationUnitGroup
Adds the new organisation unit group and adds a data right for the current user.
Public methodAddOrganisationUnitUser(PsrOrganisationUnitUser, String, NullableGuid)
Adds the organisation unit user
Public methodAddOrganisationUnitUser(PsrOrganisationUnitUser, Byte, Byte, Byte, Byte, Byte, NullableGuid, NullableMtoHashAlgorithm)
Adds the new organisation unit user and adds data rights for themself and current user.
Public methodChangeCurrentOrganisationUnitUserPassword
Changes the password of the current user
Public methodChangeOrganisationUnitPassword
Changes the password of the user with the given ID.
Public methodDeleteOrganisationUnitGroup
Deletes the given organisation unit group.
Public methodDeleteOrganisationUnitUser
Deletes the given organisation unit user.
Public methodDoesCurrentUserNeedToChangePassword
Returns, if the current user need to change his password.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetGroupInvolvedOrganisationUnit
Returns a list of IDs of organisation units that are involved in the group with the given ID.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrganisationUnitGroup
Returns the organisation unit group matching the given ID.
Public methodGetOrganisationUnitImageSource
Returns the base64 encoded image of the organisation unit.
Public methodGetOrganisationUnitList
Returns a list of organisation units that match the given filter.
Public methodGetOrganisationUnitListFilter
Returns the organisation unit list filter that was at last saved for the user or the default filter if defaultFilter is set to true.
Public methodGetOrganisationUnitStructure
Returns the organisation unit structure that matches the given filter.
Public methodGetOrganisationUnitUser
Returns the organisation unit user matching the given ID.
Public methodGetOrganisationUnitUserList
Returns a list of organisation unit users matching the given filter.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserInvolvedOrganisationUnit
Returns a list of IDs of organisation units that are involved in the user with the given ID.
Public methodHasGroupMasterKeyMode
Returns if the group is secured with master key.
Public methodHasUserMasterKeyMode
Returns if the user is secured with master key.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateOrganisationUnitGroup
Updates the given organisation unit group.
Public methodUpdateOrganisationUnitUser
Updates the given organisation unit user.
Top
See Also