AuthElement Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class AuthElement : IObjectWithId, IObjectWithGuid, ICloneable
The AuthElement type exposes the following members.
Name | Description | |
---|---|---|
![]() | AuthElement(Int32) |
Used when an ad-hoc authelement is to be used, e.g. in connection with
request for rights for a user.
Important that this type of constructor is not used for an existing id (id> 0)
if the object (authelement) is subsequently to be saved in db.
This will mean that new (useless) appstrings will be created in db!
However, this is not a problem for just this particular class since there
a sawing method for AuthElement does not exist at all!
|
![]() | AuthElement(Int32, AppString) |
Name | Description | |
---|---|---|
![]() | AllowedPermissions |
List of allowed permissions for this AuthElement
|
![]() | Id |
Id
|
![]() | Name |
Name
|
![]() | Number |
Number
|
![]() | SystemName |
Technical name of the Authorization element
|
![]() | UId |
UId
|
Name | Description | |
---|---|---|
![]() | Clone | |
![]() ![]() | HasPermissionType |
Returns whether a specific authelement supports a specific permission type.
F.x. only a few authelements supports the 'execute' permission.
|
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.) |
Name | Description | |
---|---|---|
![]() ![]() | IObjectWithGuid.GetGuid | |
![]() ![]() | IObjectWithId.GetId |