RightManager Class |
Namespace: PsrApi.Managers
public class RightManager : BaseManager
The RightManager type exposes the following members.
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 | Determines whether the specified object is equal to the current object. (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 | Serves as the default hash function. (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 | Gets the Type of the current instance. (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 | Returns a string that represents the current object. (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.
|