AppIdentity Class | 
Namespace: Omada.OE.Model
[SerializableAttribute] public class AppIdentity : IIdentity, ICloneable
The AppIdentity type exposes the following members.
| Name | Description | |
|---|---|---|
| AppIdentity(AppIdentity) | 
            Constructor for the AppIdentity.
              | |
| AppIdentity(String, Int32, Int32) | 
            Use this constructor for well-known users only.
              | |
| AppIdentity(String, String, AuthUserInfo) | 
            Constructor for the AppIdentity.
              | |
| AppIdentity(User, Int32, String) | 
            Constructor for the AppIdentity.
              | |
| AppIdentity(String, Int32, Int32, String) | 
            Use this constructor for well-known users only.
              | 
| Name | Description | |
|---|---|---|
| Attributes | 
            The attributes collection can be used for session oriented storage like the active changeset.
              | |
| AuthElementPermissions | 
            Keys are auth element technical names.
            Values are arrays of permissions.
            Example: "AppStrings":["Create", "Read", "Update", "Delete"]
              | |
| AuthenticatedByWindows | 
            Returns true if the user is authenticated by Windows.
              | |
| AuthenticatedGroupIds | 
            Contains id's of the user groups that:
            - the identity user is a member of
            - has an AuthLevel less than or eq. to the identity AuthLevel
              | |
| AuthenticationType | 
            Example: "Basic"
              | |
| AuthLevel | 
            Specifies the level that the identity is authenticated with.
              | |
| AuthRoleIds | 
            Contains the authentication roles of the user of the authenticated user groups he is member of.
              | |
| BeginningOfTodayInIdentityLocalTimeInUtc | 
            Returns the beginning of the identity's 'today' (that is, the point in time right after midnight) converted to utc time.
              | |
| ChangeTime | 
            Contains the point in time when the user was changed (UTC).
            Used for credential cache expiry.
              | |
| CustomerId | 
            Customer ID of the active user
              | |
| Identity | 
            Contains the currently logged-in user's identity
              | |
| IdentityIfPresent | 
            Contains the currently logged-in user's identity - or null, if the user is not logged in.
            Use in error reporting situations to aviod triggering more errors
              | |
| IsAuthenticated | ||
| IsUserInfoPresent | 
            Returns true if the UserInfo object is defined
              | |
| IsWindowsIdentityPresent | 
            Returns true if the WindowsIdentity object is defined
              | |
| LanguageId | 
            Language of the active user.
            The language id can be set, this is used in web services, since the
            language is not set correctly for these calls
              | |
| LastPasswordChange | 
            Last time the user changed the ES authentication pasword
              | |
| Name | ||
| PersonalUserGroupId | 
            Personal user group of the active user
              | |
| TimeZone | 
            Timezone for the identity. The value must match a number from tbltimezone.
              | |
| UserId | 
            User ID of the active user
              | |
| UserInfo | 
            UserInfo contains some standard properties from the user object
              | |
| WindowsIdentity | 
            Contains the windows identity (if using integrated authentication)
              | 
| Name | Description | |
|---|---|---|
| Clone | ||
| DoAs | 
            Executes with the context of the Identity
              | |
| FormatValidityPeriodPoint | 
            Formats the beginning or end of a validity period as a string in the local time of the active user.
            Method determines itself if the system is configured to use whole dates (recommended) or datetimes for validity periods.
              | |
| HasAuthElementPermission | 
            Checks if currently logged in user is the system user, or has required auth element and 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.) |