org.appng.api.model

## Interface Account

- All Known Subinterfaces:
    ApplicationSubject, AuthSubject, Subject
  All Known Implementing Classes:
    ApplicationSubjectImpl, SubjectImpl

      public interface Account

  Basic account data.
  Author:
    Matthias Müller

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAuthName()` Returns the username of this `Account`, e.g.
    `String` | `getEmail()` Returns the email for this `Account`, e.g.
    `String` | `getLanguage()` Returns the language tag for this `Account` in the IETF BCP 47 notation: `<lang>-<country>`. Examples: en en-US de de-CH
    `String` | `getRealname()` Returns the real name of this `Account`, e.g.
    `String` | `getTimeZone()` Returns the timezone for this `Account`, e.g.

- - ### Method Detail

    - #### getAuthName

          String getAuthName()

      Returns the username of this `Account`, e.g. 'admin'.
      Returns:
        the username

    - #### getRealname

          String getRealname()

      Returns the real name of this `Account`, e.g. 'appNG Administrator'.
      Returns:
        the real name

    - #### getLanguage

          String getLanguage()

      Returns the language tag for this `Account` in the IETF BCP 47 notation: `<lang>-<country>`.
      Examples:
      - en
      - en-US
      - de
      - de-CH
      Returns:
        the language
      See Also:
        `Locale.forLanguageTag(String)`

    - #### getTimeZone

          String getTimeZone()

      Returns the timezone for this `Account`, e.g. 'Europe/Berlin'.
      Returns:
        the timezone

    - #### getEmail

          String getEmail()

      Returns the email for this `Account`, e.g. 'admin@example.com'.
      Returns:
        the email

Copyright © 2011–2023 aiticon GmbH. All rights reserved.