| RightManager Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: PsrApi.Managers
 Syntax
Syntaxpublic class RightManager : BaseManager
The RightManager type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddLegitimateDataRight | 
                Adds a new data right that corresponds to the given ID, legitimate ID and rights.
             | 
|  | BatchUpdateRights | 
                Performs all data right updates that are determined by the batch right items.
             | 
|  | Equals | (Inherited from Object.) | 
|  | GetCurrentConnectionDataRightList | 
                Returns a list of rights that the current session user has on the objects with the given IDs.
             | 
|  | GetCurrentConnectionDataRights | 
                Returns the rights that the current session user has on the object with the given ID.
             | 
|  | GetDatabaseAdministratorDataRights | 
                Returns the data rights with the given dataId which are database administrator. Does not include the rightkey in the datarights
             | 
|  | GetHashCode | (Inherited from Object.) | 
|  | GetLegitimateDataRight | 
                Returns the data right that matches the given ID, legitimate ID and rights.
             | 
|  | GetLegitimateDataRightCheckRoles | 
                Returns the data right to the given object, the roles are taken into account.
             | 
|  | GetLegitimateDataRights | 
                Returns a list of data rights that apply to the given ID.
             | 
|  | GetLegitimateDataRightsWithoutDeleted | 
                Returns all data rights of the given data ID without deleted ones.
             | 
|  | GetLegitimateDataRightsWithTemporalRights | 
                Returns a list of data rights that match the given ID and validity dates.
             | 
|  | GetMultiLegitimateDataRights | 
                Returns a list of rights of the provided data IDs.
             | 
|  | GetType | (Inherited from Object.) | 
|  | RemoveAllLegitimateDataRights | 
                Removes all the data rights that match the given ID.
                WARNING: If allRights is set to true, even the current session user's data right on
                the object is deleted.
             | 
|  | RemoveAllLegitimateDataRightsExcept | 
                Removes all rights from an object
             | 
|  | RemoveCurrentOrganisationUnitFromRights | 
                Deletes the data right that matches the given ID and the current user.
             | 
|  | RemoveLegitimateDataRight | 
                Removes the data right that matches the given ID, legitimate ID and rights.
             | 
|  | RequestDataRight | 
                Requests permissions on the data with the given ID and type for the current user.
             | 
|  | ToString | (Inherited from Object.) | 
|  | UpdateLegitimateDataRight | 
                Updates the rights of a data right that matches the given ID and legitimate ID.
             | 
|  | UpdateLegitimateDataRightKey | 
                Updates the right key of the data right that matches the given ID and legitimate ID.
             | 
|  | UpdateLegitimateDataRightOwnerRight | 
                Updates the owner right of the data right that matches the given ID and legitimate ID.
             | 
|  | UpdateLegitimateDataRightSecuredData | 
                Updates the secured data state of the data right that matches the given ID and legitimate ID.
             | 
|  | UpdateLegitimateDataRightValidDate | 
                Updates the validity dates of the data right that matches the given ID and legitimate ID.
             | 
|  | UpdateLegitimateSealId | 
                Updates the seal ID of the data right that matches the given ID and legitimate ID.
             | 
 See Also
See Also