Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListGroups(client *gophercloud.ServiceClient, userID string) pagination.Pager + func ListInGroup(client *gophercloud.ServiceClient, groupID string, opts ListOptsBuilder) pagination.Pager + func ListProjects(client *gophercloud.ServiceClient, userID string) pagination.Pager + type CreateOpts struct + DefaultProjectID string + Description string + DomainID string + Enabled *bool + Extra map[string]interface{} + Name string + Options map[Option]interface{} + Password string + func (opts CreateOpts) ToUserCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToUserCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*User, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, userID string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*User, error) + type ListOpts struct + DomainID string + Enabled *bool + IdPID string + Name string + PasswordExpiresAt string + ProtocolID string + UniqueID string + func (opts ListOpts) ToUserListQuery() (string, error) + type ListOptsBuilder interface + ToUserListQuery func() (string, error) + type Option string + const IgnoreChangePasswordUponFirstUse + const IgnoreLockoutFailureAttempts + const IgnorePasswordExpiry + const MultiFactorAuthEnabled + const MultiFactorAuthRules + type UpdateOpts struct + DefaultProjectID string + Description string + DomainID string + Enabled *bool + Extra map[string]interface{} + Name string + Options map[Option]interface{} + Password string + func (opts UpdateOpts) ToUserUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToUserUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, userID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*User, error) + type User struct + DefaultProjectID string + Description string + DomainID string + Enabled bool + Extra map[string]interface{} + ID string + Links map[string]interface{} + Name string + Options map[string]interface{} + PasswordExpiresAt time.Time + func ExtractUsers(r pagination.Page) ([]User, error) + func (r *User) UnmarshalJSON(b []byte) error + type UserPage struct + func (r UserPage) IsEmpty() (bool, error) + func (r UserPage) NextPageURL() (string, error)