Class User

    • Constructor Detail

      • User

        public User​(String name)
        Default constructor
        Parameters:
        name - user name
      • User

        public User​(User src)
        Copy constructor
        Parameters:
        src - object for copy
      • User

        public User​(org.netxms.base.NXCPMessage msg)
        Create user object from NXCP message
        Parameters:
        msg - NXCP message
    • Method Detail

      • fillMessage

        public void fillMessage​(org.netxms.base.NXCPMessage msg)
        Fill NXCP message with object data
        Overrides:
        fillMessage in class AbstractUserObject
        Parameters:
        msg - NXCP message
      • getAuthMethod

        public int getAuthMethod()
        Returns:
        the authMethod
      • setAuthMethod

        public void setAuthMethod​(int authMethod)
        Parameters:
        authMethod - the authMethod to set
      • getCertMappingMethod

        public int getCertMappingMethod()
        Returns:
        the certMappingMethod
      • setCertMappingMethod

        public void setCertMappingMethod​(int certMappingMethod)
        Parameters:
        certMappingMethod - the certMappingMethod to set
      • getCertMappingData

        public String getCertMappingData()
        Returns:
        the certMappingData
      • setCertMappingData

        public void setCertMappingData​(String certMappingData)
        Parameters:
        certMappingData - the certMappingData to set
      • getFullName

        public String getFullName()
        Returns:
        the fullName
      • setFullName

        public void setFullName​(String fullName)
        Parameters:
        fullName - the fullName to set
      • getMinPasswordLength

        public int getMinPasswordLength()
        Returns:
        the minPasswordLength
      • setMinPasswordLength

        public void setMinPasswordLength​(int minPasswordLength)
        Parameters:
        minPasswordLength - the minPasswordLength to set
      • getDisabledUntil

        public Date getDisabledUntil()
        Returns:
        the disabledUntil
      • setDisabledUntil

        public void setDisabledUntil​(Date disabledUntil)
        Parameters:
        disabledUntil - the disabledUntil to set
      • getLastLogin

        public Date getLastLogin()
        Returns:
        the lastLogin
      • getLastPasswordChange

        public Date getLastPasswordChange()
        Returns:
        the lastPasswordChange
      • getAuthFailures

        public int getAuthFailures()
        Returns:
        the authFailures
      • getXmppId

        public String getXmppId()
        Returns:
        the xmppId
      • setXmppId

        public void setXmppId​(String xmppId)
        Parameters:
        xmppId - the xmppId to set
      • getGroups

        public long[] getGroups()
        Returns:
        the groups
      • setGroups

        public void setGroups​(long[] groups)
        Parameters:
        groups - the groups to set