java.lang.Object
com.inductiveautomation.ignition.common.config.BasicPropertySet
com.inductiveautomation.ignition.common.user.BasicUser
All Implemented Interfaces:
Countable, Extendable<PropertySet>, Mergable<PropertySet>, MutablePropertyValueSource, ObservablePropertySet, PropertySet, PropertyValueSource, User, Serializable, Iterable<PropertyValue>
Direct Known Subclasses:
BasicAuthenticatedUser

public class BasicUser extends BasicPropertySet implements User
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • setRoles

      public BasicUser setRoles(@Nullable Collection<String> roles)
    • setContactInfo

      public BasicUser setContactInfo(@Nullable List<ContactInfo> contactInfo)
    • setScheduleAdjustments

      public BasicUser setScheduleAdjustments(@Nullable List<ScheduleAdjustment> scheduleAdjustments)
    • setProfileName

      public void setProfileName(@Nullable String newProfileName)
      Description copied from interface: User
      Scripting functions allow adding and editing of users, and profile names may need to change.
      Specified by:
      setProfileName in interface User
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class BasicPropertySet
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getProfileName

      public String getProfileName()
      Description copied from interface: User
      The name of the user management profile this user was retrieved from.
      Specified by:
      getProfileName in interface User
    • getId

      public String getId()
      Description copied from interface: User
      An opaque identifier that can be used to identify this user. Only valid (unique) within the context of the originating user profile
      Specified by:
      getId in interface User
    • getRoles

      @Nonnull public List<String> getRoles()
      Description copied from interface: User
      Returns a mutable list of roles this user has. Not null.
      Specified by:
      getRoles in interface User
    • getContactInfo

      @Nonnull public List<ContactInfo> getContactInfo()
      Description copied from interface: User
      Returns all the contact information for the user
      Specified by:
      getContactInfo in interface User
    • getScheduleAdjustments

      @Nonnull public List<ScheduleAdjustment> getScheduleAdjustments()
      Description copied from interface: User
      Returns all of this user's upcoming schedule adjustments
      Specified by:
      getScheduleAdjustments in interface User
    • getPath

      public QualifiedPath getPath()
      Description copied from interface: User
      Generate a path that unambiguously references this user
      Specified by:
      getPath in interface User