public interface

PermittedUser

com.atlassian.bitbucket.permission.PermittedUser

Class Overview

Defines an association between a ApplicationUser 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 ApplicationUser 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 ApplicationUser getUser ()

Retrieves the user to which the permission has been granted.

Note, the user may not be active

Returns
  • the permitted user