Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
de927cd7
Commit
de927cd7
authored
Sep 20, 2017
by
Sindre Paulsrud Moe
Committed by
Sander van Harmelen
Sep 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Confirm renamed to SkipConfirmation (#211)
parent
694e2247
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
users.go
users.go
+15
-15
No files found.
users.go
View file @
de927cd7
...
...
@@ -118,21 +118,21 @@ func (s *UsersService) GetUser(user int, options ...OptionFunc) (*User, *Respons
//
// GitLab API docs: https://docs.gitlab.com/ce/api/users.html#user-creation
type
CreateUserOptions
struct
{
Email
*
string
`url:"email,omitempty" json:"email,omitempty"`
Password
*
string
`url:"password,omitempty" json:"password,omitempty"`
Username
*
string
`url:"username,omitempty" json:"username,omitempty"`
Name
*
string
`url:"name,omitempty" json:"name,omitempty"`
Skype
*
string
`url:"skype,omitempty" json:"skype,omitempty"`
Linkedin
*
string
`url:"linkedin,omitempty" json:"linkedin,omitempty"`
Twitter
*
string
`url:"twitter,omitempty" json:"twitter,omitempty"`
WebsiteURL
*
string
`url:"website_url,omitempty" json:"website_url,omitempty"`
ProjectsLimit
*
int
`url:"projects_limit,omitempty" json:"projects_limit,omitempty"`
ExternUID
*
string
`url:"extern_uid,omitempty" json:"extern_uid,omitempty"`
Provider
*
string
`url:"provider,omitempty" json:"provider,omitempty"`
Bio
*
string
`url:"bio,omitempty" json:"bio,omitempty"`
Admin
*
bool
`url:"admin,omitempty" json:"admin,omitempty"`
CanCreateGroup
*
bool
`url:"can_create_group,omitempty" json:"can_create_group,omitempty"`
Confirm
*
bool
`url:"confirm,omitempty" json:"confirm
,omitempty"`
Email
*
string
`url:"email,omitempty" json:"email,omitempty"`
Password
*
string
`url:"password,omitempty" json:"password,omitempty"`
Username
*
string
`url:"username,omitempty" json:"username,omitempty"`
Name
*
string
`url:"name,omitempty" json:"name,omitempty"`
Skype
*
string
`url:"skype,omitempty" json:"skype,omitempty"`
Linkedin
*
string
`url:"linkedin,omitempty" json:"linkedin,omitempty"`
Twitter
*
string
`url:"twitter,omitempty" json:"twitter,omitempty"`
WebsiteURL
*
string
`url:"website_url,omitempty" json:"website_url,omitempty"`
ProjectsLimit
*
int
`url:"projects_limit,omitempty" json:"projects_limit,omitempty"`
ExternUID
*
string
`url:"extern_uid,omitempty" json:"extern_uid,omitempty"`
Provider
*
string
`url:"provider,omitempty" json:"provider,omitempty"`
Bio
*
string
`url:"bio,omitempty" json:"bio,omitempty"`
Admin
*
bool
`url:"admin,omitempty" json:"admin,omitempty"`
CanCreateGroup
*
bool
`url:"can_create_group,omitempty" json:"can_create_group,omitempty"`
SkipConfirmation
*
bool
`url:"skip_confirmation,omitempty" json:"skip_confirmation
,omitempty"`
}
// CreateUser creates a new user. Note only administrators can create new users.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment