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

Method assocUserWithOrgByUserGUID

cf/api/users.go:359–362  ·  view source on GitHub ↗
(userGUID, orgGUID string)

Source from the content-addressed store, hash-verified

357}
358
359func (repo CloudControllerUserRepository) assocUserWithOrgByUserGUID(userGUID, orgGUID string) (apiErr error) {
360 path := fmt.Sprintf("/v2/organizations/%s/users/%s", orgGUID, userGUID)
361 return repo.ccGateway.UpdateResource(repo.config.APIEndpoint(), path, nil)
362}
363
364func (repo CloudControllerUserRepository) getAuthEndpoint() (string, error) {
365 uaaEndpoint := repo.config.UaaEndpoint()

Callers 2

SetOrgRoleByGUIDMethod · 0.95
SetSpaceRoleByGUIDMethod · 0.95

Calls 2

UpdateResourceMethod · 0.80
APIEndpointMethod · 0.65

Tested by

no test coverage detected