Commit 12383e7e authored by George Dobrovolsky's avatar George Dobrovolsky Committed by Sander van Harmelen

Add username parameter to user search (#70)

Check out http://docs.gitlab.com/ce/api/users.html
parent c68b8314
......@@ -71,8 +71,9 @@ type UserIdentity struct {
// GitLab API docs: http://doc.gitlab.com/ce/api/users.html#list-users
type ListUsersOptions struct {
ListOptions
Active *bool `url:"active,omitempty" json:"active,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"`
Active *bool `url:"active,omitempty" json:"active,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"`
Username *string `url:"username,omitempty" json:"username,omitempty"`
}
// ListUsers gets a list of users.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment