Skip to content
Snippets Groups Projects
Commit 12383e7e authored by George Dobrovolsky's avatar George Dobrovolsky Committed by Sander van Harmelen
Browse files

Add username parameter to user search (#70)

parent c68b8314
No related branches found
No related tags found
No related merge requests found
...@@ -71,8 +71,9 @@ type UserIdentity struct { ...@@ -71,8 +71,9 @@ type UserIdentity struct {
// GitLab API docs: http://doc.gitlab.com/ce/api/users.html#list-users // GitLab API docs: http://doc.gitlab.com/ce/api/users.html#list-users
type ListUsersOptions struct { type ListUsersOptions struct {
ListOptions ListOptions
Active *bool `url:"active,omitempty" json:"active,omitempty"` Active *bool `url:"active,omitempty" json:"active,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"` Search *string `url:"search,omitempty" json:"search,omitempty"`
Username *string `url:"username,omitempty" json:"username,omitempty"`
} }
// ListUsers gets a list of users. // ListUsers gets a list of users.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment