SecurityContext Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class SecurityContext : ICloneable
The SecurityContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | SecurityContext | |
![]() | SecurityContext(PermissionFlags) |
Name | Description | |
---|---|---|
![]() | Create |
The right to create new objects
|
![]() | CRUDString |
Used for debug purposes.
|
![]() | Delete |
The right to delete an object
|
![]() | Permissions | |
![]() | Read |
The right the read an object
|
![]() | Update |
The right to update an object
|
Name | Description | |
---|---|---|
![]() | AddPermission | |
![]() | AssignPermissions(PermissionFlags) | |
![]() | AssignPermissions(SecurityContext) |
Overfører rettighederne fra source - eksisterende rettigheder fjernes.
|
![]() | ClearAllPermissions |
Clear all permissions
|
![]() | Clone | |
![]() | getCRUDString |
Returns a string representation of the object for instance CRUD
|
![]() | HasAnyPermission |
Returns whether *any* permission is set.
|
![]() | HasCRUDPermissions |
Returns true of one of the 4 CRUD permissions is set.
|
![]() | HasPermission(String) |
Check if the SecurityContext has a specific permission
|
![]() | HasPermission(BasicOperation) | |
![]() | RemovePermission | |
![]() | SetAllStandardPermissions |
Enables all permissions.
|
![]() | TogglePermission |
Toggle permission
|
![]() | TransferPermissions(SecurityContext) |
Overfører rettighederne fra source.
Rettighederne kan kun tilføjes - de fjernes aldrig.
|
![]() | TransferPermissions(SecurityContext, Boolean) |
Overfører rettighederne fra source.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |