Unverified Commit 34a5cacb authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Merge pull request #665 from ycornamusaz/private_profile_attr

Add PrivateProfile attribute in CreateUserOptions and ModifyUserOptions functions
parents fd4d48b0 f14f7840
......@@ -163,6 +163,7 @@ type CreateUserOptions struct {
CanCreateGroup *bool `url:"can_create_group,omitempty" json:"can_create_group,omitempty"`
SkipConfirmation *bool `url:"skip_confirmation,omitempty" json:"skip_confirmation,omitempty"`
External *bool `url:"external,omitempty" json:"external,omitempty"`
PrivateProfile *bool `url:"private_profile,omitempty" json:"private_profile,omitempty"`
}
// CreateUser creates a new user. Note only administrators can create new users.
......@@ -205,6 +206,7 @@ type ModifyUserOptions struct {
CanCreateGroup *bool `url:"can_create_group,omitempty" json:"can_create_group,omitempty"`
SkipReconfirmation *bool `url:"skip_reconfirmation,omitempty" json:"skip_reconfirmation,omitempty"`
External *bool `url:"external,omitempty" json:"external,omitempty"`
PrivateProfile *bool `url:"private_profile,omitempty" json:"private_profile,omitempty"`
}
// ModifyUser modifies an existing user. Only administrators can change attributes
......
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