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

Function DeleteUser

integration/helpers/user.go:115–118  ·  view source on GitHub ↗

DeleteUser deletes the user specified by username.

(username string)

Source from the content-addressed store, hash-verified

113
114// DeleteUser deletes the user specified by username.
115func DeleteUser(username string) {
116 session := CF("delete-user", username, "-f")
117 Eventually(session).Should(Exit(0))
118}
119
120// CreateUserInOrgRole creates a user with a random username and password and gives them the specified role within
121// a specific org. The new user's username and password are returned.

Calls 1

CFFunction · 0.85

Tested by

no test coverage detected