|
AccessRights Class
|
Represents access rights to different things.
Inheritance Hierarchy
SystemObject
Severa.Entities.APIAccessRights
Namespace: Severa.Entities.APIAssembly: Severa.Entities.API (in Severa.Entities.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax public class AccessRights
Public Class AccessRights
The AccessRights type exposes the following members.
Constructors | Name | Description |
---|
| AccessRights | Initializes a new instance of the AccessRights class |
TopProperties | Name | Description |
---|
| Account |
Access rights to accounts.
|
| AccountDelete |
Specifies whether the deleting accounts is allowed or not.
|
| Administrator |
Access rights to organization settings and upgrades.
|
| Case |
Access rights to cases.
|
| CaseDelete |
Specifies whether the deleting cases is allowed or not.
|
| CaseOwnerWorkHourApproval |
Specifies whether the the case owner is allowed to approve work hours or not.
|
| HighestAccessibleInvoiceStatusName |
Tells the name of the last invoice status that is editable for the user. Statuses, which have sort order bigger than this status has, can’t be edited.
User can view invoices regardless of their status, based on other access rights.
|
| ScheduleJobs |
Access rights to Schedule jobs
|
| Sharing |
Specifies whether report or dashboard sharing is allowed or not.
|
| TravelReimbursement |
Access rights to travel reimbursement.
|
| Users |
Access rights to users.
|
| WorkHourApproval |
Access rights to work hour approval.
|
TopRemarks - This is used for AccessRightsProfile and for UserRights.
- When API returns AccessRightsProfile, each property has a value.
- When a new AccessRightsProfile is added and property's value is not set, default right (usually None) will be used.
- When an existing AccessRightsProfile is updated, only the properties that has a value set will be updated.
- When API returns UserRights, only those properties has a value which have been specifically set for the user.
- When API returns UserRights and property is null (Nothing), the user will inherit the right from user's access rights profile.
- When UserRights is used for update, only those properties that has a value set, will be used for user.
- When UserRights is used for update and a property is null (Nothing), the user's right will be removed (if it existed) and therefore user will inherit the right from user's access rights profile.
See Also