Interface NCUser

    • Method Detail

      • getId

        long getId()
        Gets ID of this user.
        Returns:
        User ID.
      • getFirstName

        Optional<String> getFirstName()
        Gets first name of the user.
        Returns:
        First name of the user.
      • getLastName

        Optional<String> getLastName()
        Gets last name of the user.
        Returns:
        Last name of the user.
      • getProperties

        Optional<Map<String,​String>> getProperties()
        Gets properties associated with the user.
        Returns:
        Optional map of properties associated with the user.
      • getEmail

        Optional<String> getEmail()
        Gets email of the user.
        Returns:
        Email of the user.
      • getAvatarUrl

        Optional<String> getAvatarUrl()
        Gets optional user avatar URL (data: or http: scheme URLs).
        Returns:
        User avatar URL (data: or http: scheme URLs).
      • isAdmin

        boolean isAdmin()
        Tests whether or not the user has administrative privileges.
        Returns:
        Whether or not the user has administrative privileges.
      • getSignupTimestamp

        long getSignupTimestamp()
        Gets signup timestamp of the user.
        Returns:
        Signup timestamp of the user.