Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

User class


This class represents a user of the BMC Cloud Lifecycle Management System.

User class APIs

The following tables list the basic APIs, operation APIs, and relationship APIs for the User class.

Basic APIs

Name

HTTP
method

URI

Description

create

POST

Creates a User object.

delete

DELETE

Deletes a User object.

update

POST

Updates a User object.

search

POST

Searches for User objects.

Operation APIs

 Name

HTTP
method

URI

Description

getPassword

POST

This API returns password for the specified User

getQuota

POST

Transfers the ownership from existing user to the new user

getQuotaUsage

POST

Transfers the ownership from existing user to the new user.

setPassword

POST

This API sets password for the specified User

updateQuota

POST

Transfers the ownership from existing user to the new user

validateQuota

POST

This API validates quota for the user. The validation is done across the requested services v/s the quota added earlier.

Relationship APIs

The User class has no relationship APIs.

User class relationships and attributes

The following tables list the relationships and attributes of the User class.

Relationships

Name

Type

Multi-
plicity

Description

organization

1..*

 

serviceOfferingInstances

0..*

 

userPrivileges

0..*

 

cloudClass

1

Fully-qualified name of the class to which the object belongs

provider

1

Provider that created the object

tags

0..*

Tags associated with the object

Attributes

Name

Type

Multi-
plicity

Description

customFields

String

0..*

 

email
String

0..1

 

firstName
String

0..1

 

lastName
String

0..1

 

location

FoundationLocation

0..1

 

primaryOrganization
String

0..1

 

description
String

0..1

Text that describes the object

guid
String

1

Globally unique identifier for the object

labels
String

0..*

 

modifiedDate

0..1

Date the Cloudobject was modified

name
String

1

Human-readable name of the object

HTTP request message

Query string parameters

This API does not use query string parameters.

Request message headers

This API uses only common headers listed in HTTP-request-and-response-headers.

Example

The following example shows an HTTP request for the API that represents a user of the BMC Cloud Lifecycle Management System.


{
               "timeout": 1000000,
               "operationParams": [{
                               "name": "user",
                               "value": {
                                               "cloudClass": "com.bmc.cloud.model.beans.User",
                                               "description": "create call",
                                               "firstName": "Nimbo",
                                               "lastName": "CloudUser1",
                                               "email": "test@bmc.com",
                                               
                                               "customFieldsObject": [{
                                                               "cloudClass": "com.bmc.cloud.model.beans.CustomField",
                                                               "name": "ctm_people.1000001437",
                                                               "description": "TemplateName",
                                                               "stringValue": "Cloud End User",
                                                               "type": "String"
                                                }],
                                               "name": "NimboCloudUser1",
                                               "password": "plaintext:password",
                                               "primaryOrganization": "NimboStratus Corp",
                                               "foundationLocationObject": {
                                                               "cloudClass": "com.bmc.cloud.model.beans.FoundationLocation",
                                                               "name": "Austin Site1"
                                                }
                                },
                               "type": "com.bmc.cloud.model.beans.User",
                               "multiplicity": "1"
                } ],
               "postCallout": "",
               "callbackURL": "",
               "preCallout": ""
}


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*