MCPcopy Index your code
hub / github.com/cloudfoundry/cli / SetOrgRoleByUsername

Method SetOrgRoleByUsername

cf/api/users.go:49–49  ·  view source on GitHub ↗
(username, orgGUID string, role models.Role)

Source from the content-addressed store, hash-verified

47 Delete(userGUID string) (apiErr error)
48 SetOrgRoleByGUID(userGUID, orgGUID string, role models.Role) (apiErr error)
49 SetOrgRoleByUsername(username, orgGUID string, role models.Role) (apiErr error)
50 UnsetOrgRoleByGUID(userGUID, orgGUID string, role models.Role) (apiErr error)
51 UnsetOrgRoleByUsername(username, orgGUID string, role models.Role) (apiErr error)
52 SetSpaceRoleByGUID(userGUID, spaceGUID, orgGUID string, role models.Role) (apiErr error)

Callers 1

SetOrgRoleMethod · 0.65

Implementers 2

FakeUserRepositorycf/api/apifakes/fake_user_repository.g

Calls

no outgoing calls

Tested by

no test coverage detected