class User extends OperatorResource implements Creatable, Listable, Retrievable, Updateable, Deletable

Traits

Properties

$domainId string
$defaultProjectId string
$id string
$email string
$enabled bool
$description string
$links
$name string

Methods

create (array $data) : Creatable

Create a new resource according to the configuration set in the options.

retrieve () : void

Retrieve details of the current resource from the remote API.

update () : void

Update the current resource with the configuration set out in the user options.

delete () : void

Permanently delete this resource.

No description

No description

Details

create(array $data)

Create a new resource according to the configuration set in the options.

Parameters

$data array {see \OpenStack\Identity\v3\Api::postUsers}

Return value

Creatable

Example code

$creatable = $user->create($data);

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$user->retrieve();

update()

Update the current resource with the configuration set out in the user options.

Return value

void

Example code

$user->update();

delete()

Permanently delete this resource.

Return value

void

Example code

$user->delete();

listGroups()

Return value

Generator

Example code

$generator = $user->listGroups();

listProjects()

Return value

Generator

Example code

$generator = $user->listProjects();