Interface Identity


public interface Identity
Definition of a User interface available to Rule implementors.
  • Method Details

    • getName

      String getName()
      Get the internal name of the User.
      Returns:
      the internal name
    • getDisplayName

      String getDisplayName()
      Get the display name of the identity
      Returns:
      The displayName
    • getId

      String getId()
      Get the internal unique identifier.
      Returns:
      The id
    • getFirstName

      String getFirstName()
      Get the first name of the User.
      Returns:
      The FirstName
    • getLastName

      String getLastName()
      Get the last name of the User.
      Returns:
      The LastName
    • getPhone

      String getPhone()
      Get the phone of the User.
      Returns:
      The phone
    • getWorkPhone

      String getWorkPhone()
      Get the work phone of the User.
      Returns:
      The work phone
    • getPersonalEmail

      String getPersonalEmail()
      Get the personal email of the User.
      Returns:
      The personal email address
    • getEmail

      String getEmail()
      Get the work email of the User.
      Returns:
      The work email
    • getLifecycleState

      String getLifecycleState()
      Get the current lifecycle state of the User.
      Returns:
      The lifecycle state
    • getAttributes

      Map<String,Object> getAttributes()
      Get the raw attributes of the User.
      Returns:
      The map attributes derived from attribute promotion.
    • getUid

      String getUid()
      Get the uid of the USer;
      Returns:
      The Uid
    • isManager

      boolean isManager()
      Check to see if the current user has reports and is a manager.
      Returns:
      true if the User is a manager, false otherwise
    • getManagerId

      String getManagerId()
      The internal ID of the manager for this User.
      Returns:
      The internal ID of the manager
    • getManagerName

      String getManagerName()
      Gets the name of the user's manager.
      Returns:
      The name of the manager
    • getCountry

      String getCountry()
      Get the country of the user
      Returns:
      The country
    • getEmployeeNumber

      String getEmployeeNumber()
      Get the user's employee number;
      Returns:
      The employee number