MCPcopy
hub / github.com/cloudfoundry/cli / NewUAAUserResource

Function NewUAAUserResource

cf/api/resources/users.go:46–56  ·  view source on GitHub ↗
(username, password string)

Source from the content-addressed store, hash-verified

44}
45
46func NewUAAUserResource(username, password string) UAAUserResource {
47 return UAAUserResource{
48 Username: username,
49 Emails: []UAAUserResourceEmail{{Value: username}},
50 Password: password,
51 Name: UAAUserResourceName{
52 GivenName: username,
53 FamilyName: username,
54 },
55 }
56}
57
58type UAAUserFields struct {
59 ID string

Callers 1

CreateMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected