Uses of Class
org.gitlab4j.api.models.User
Packages that use User
Package
Description
-
Uses of User in org.gitlab4j.api
Methods in org.gitlab4j.api that return UserModifier and TypeMethodDescriptionUserApi.createUser
(User user, CharSequence password, boolean resetPassword) Creates a new user.UserApi.createUser
(User user, CharSequence password, Integer projectsLimit) Deprecated.UserApi.getCurrentUser()
Get currently authenticated user.Get a single user.Lookup a user by username.UserApi.getUserByEmail
(String email) Lookup a user by email address.UserApi.getUserByExternalUid
(String provider, String externalUid) Lookup a user by external UID.UserApi.modifyUser
(User user, CharSequence password, Integer projectsLimit) Deprecated.Will be removed in version 6.0, replaced byUserApi.updateUser(User, CharSequence)
UserApi.setUserAvatar
(Object userIdOrUsername, File avatarFile) Uploads and sets the user's avatar for the specified user.UserApi.updateUser
(User user, CharSequence password) Modifies an existing user.Methods in org.gitlab4j.api that return types with arguments of type UserModifier and TypeMethodDescriptionSearch users by Email or usernameSearch users by Email or username and return a PagerSearch users by Email or username in the specified page range.UserApi.findUsersStream
(String emailOrUsername) Search users by Email or username.UserApi.getActiveUsers()
Get a list of active usersUserApi.getActiveUsers
(int itemsPerPage) Get a Pager of active users.UserApi.getActiveUsers
(int page, int perPage) Get a list of active users using the specified page and per page settings.UserApi.getActiveUsersStream()
Get a Stream of active usersUserApi.getblockedUsers
(int page, int perPage) Get a list of blocked users using the specified page and per page settings.UserApi.getBlockedUsers()
Get a list of blocked users.UserApi.getBlockedUsers
(int itemsPerPage) Get a Pager of blocked users.UserApi.getBlockedUsersStream()
Get a Stream of blocked users.UserApi.getOptionalUser
(Long userId) Get a single user as an Optional instance.UserApi.getOptionalUser
(String username) Lookup a user by username and return an Optional instance.UserApi.getOptionalUserByEmail
(String email) Lookup a user by email address and returns an Optional with the User instance as the value.UserApi.getOptionalUserByExternalUid
(String provider, String externalUid) Lookup a user by external UID and return an Optional instance.UserApi.getUsers()
Get a list of users.UserApi.getUsers
(int itemsPerPage) Get a Pager of users.UserApi.getUsers
(int page, int perPage) Get a list of users using the specified page and per page settings.UserApi.getUsersStream()
Get a Stream of users.Methods in org.gitlab4j.api with parameters of type UserModifier and TypeMethodDescriptionUserApi.createUser
(User user, CharSequence password, boolean resetPassword) Creates a new user.UserApi.createUser
(User user, CharSequence password, Integer projectsLimit) Deprecated.Will be removed in version 6.0, replaced byUserApi.createUser(User, CharSequence, boolean)
UserApi.modifyUser
(User user, CharSequence password, Integer projectsLimit) Deprecated.Will be removed in version 6.0, replaced byUserApi.updateUser(User, CharSequence)
UserApi.updateUser
(User user, CharSequence password) Modifies an existing user. -
Uses of User in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return UserModifier and TypeMethodDescriptionAbstractIssue.getClosedBy()
Trigger.getOwner()
ApprovedBy.getUser()
AwardEmoji.getUser()
Deployable.getUser()
Deployment.getUser()
IssueEvent.getUser()
Job.getUser()
Key.getUser()
LabelEvent.getUser()
Pipeline.getUser()
User.withCanCreateGroup
(Boolean canCreateGroup) User.withCanCreateProject
(Boolean canCreateProject) User.withColorSchemeId
(Integer colorSchemeId) User.withConfirmedAt
(Date confirmedAt) User.withCurrentSignInAt
(Date currentSignInAt) User.withCustomAttributes
(List<CustomAttribute> customAttributes) User.withExternal
(Boolean external) User.withExternUid
(String externUid) User.withExtraSharedRunnersMinutesLimit
(Integer extraSharedRunnersMinutesLimit) User.withIdentities
(List<Identity> identities) User.withIsAdmin
(Boolean isAdmin) User.withLastActivityOn
(Date lastActivityOn) User.withLastSignInAt
(Date lastSignInAt) User.withLinkedin
(String linkedin) User.withLocation
(String location) User.withOrganization
(String organization) User.withPrivateProfile
(Boolean privateProfile) User.withProjectLimit
(Integer projectsLimit) Deprecated.Replaced bywithProjectsLimit(Integer)
User.withProjectsLimit
(Integer projectsLimit) User.withProvider
(String provider) User.withPublicEmail
(String publicEmail) User.withSharedRunnersMinuteLimit
(Integer sharedRunnersMinuteLimit) Deprecated.Replaced bywithSharedRunnersMinutesLimit(Integer)
User.withSharedRunnersMinutesLimit
(Integer sharedRunnersMinutesLimit) User.withSkipConfirmation
(Boolean skipConfirmation) User.withThemeId
(Integer themeId) User.withTwitter
(String twitter) User.withTwoFactorEnabled
(Boolean twoFactorEnabled) User.withWebsiteUrl
(String websiteUrl) Methods in org.gitlab4j.api.models that return types with arguments of type UserModifier and TypeMethodDescriptionApprovalRule.getApprovedBy()
MergeRequest.getApprovedBy()
Get the list of users that have approved the merge request.ApprovalRule.getEligibleApprovers()
ApprovalRule.getUsers()
Methods in org.gitlab4j.api.models with parameters of type UserModifier and TypeMethodDescriptionvoid
AbstractIssue.setClosedBy
(User closedBy) void
void
void
void
void
void
void
void
void
void
Method parameters in org.gitlab4j.api.models with type arguments of type UserModifier and TypeMethodDescriptionvoid
ApprovalRule.setApprovedBy
(List<User> approvedBy) void
MergeRequest.setApprovedBy
(List<User> approvedBy) Set the list of users that have approved the merge request.void
ApprovalRule.setEligibleApprovers
(List<User> eligibleApprovers) void
-
Uses of User in org.gitlab4j.api.utils
Methods in org.gitlab4j.api.utils that return types with arguments of type UserModifier and TypeMethodDescriptionJacksonJson.UserListDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext context) Method parameters in org.gitlab4j.api.utils with type arguments of type User -
Uses of User in org.gitlab4j.api.webhook
Methods in org.gitlab4j.api.webhook that return UserModifier and TypeMethodDescriptionBuildEvent.getUser()
DeploymentEvent.getUser()
ExternalStatusCheckEvent.getUser()
IssueEvent.getUser()
JobEvent.getUser()
MergeRequestEvent.getUser()
NoteEvent.getUser()
PipelineEvent.getUser()
WikiPageEvent.getUser()
Methods in org.gitlab4j.api.webhook with parameters of type UserModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
UserApi.createUser(User, CharSequence, boolean)