public interface

PermittedUser

com.atlassian.stash.user.PermittedUser

Class Overview

Defines an association between a StashUser and a Permission which has been granted to them.

See Also

Summary

Public Methods
@Nonnull Permission getPermission()
Retrieves the permission which has been granted to the user.
@Nonnull StashUser getUser()
Retrieves the user to which the permission has been granted.

Public Methods

@Nonnull public Permission getPermission ()

Retrieves the permission which has been granted to the user.

Returns
  • the granted permission

@Nonnull public StashUser getUser ()

Retrieves the user to which the permission has been granted.

Note, the user may not be active

Returns
  • the permitted user