create-user

command
v3.0.0-milestone.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

Create a user

This example shows how the Alien4Cloud go client can be used to create a user.

Running this example

Build this example:

cd create-user
go build -o create.test

Now, run this example providing in arguments:

  • the Alien4Cloud URL
  • credentials of a user having the administrator
  • user properties

For example:

./create.test -url https://1.2.3.4:8088 \
              -user adminuser \
              -password mypasswd \
              -username mynewuser \
              -userpassword mynewuserpassword \
              -firstname John \
              -lastname Doe \
              -email "john.doe@acme.com" \
              -role APPLICATIONS_MANAGER -role ARCHITECT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL