public interface

StashUser

implements Person Principal
com.atlassian.stash.user.StashUser
Known Indirect Subclasses

Class Overview

Represents a registered user of Stash.

Summary

Public Methods
@Nonnull @RequiredString String getDisplayName()
@Nullable Integer getId()
boolean isActive()
[Expand]
Inherited Methods
From interface com.atlassian.stash.user.Person
From interface java.security.Principal

Public Methods

@Nonnull @RequiredString public String getDisplayName ()

Returns
  • the user's display name

@Nullable public Integer getId ()

Returns
  • the user id

public boolean isActive ()

Returns
  • true if the user is enabled, false for deleted and disabled users.