Red Hat Network API: user

Available methods

Description

User namespace contains methods to access common user functions available from the web user interface.

Namespace: user


Method: addRole

Description:
Adds the given role to the given user.

Parameters:

Returns:


Method: createUser

Description:
Create a new user, in the same Org as that of the invoker.

Invoker must be an Org-Admin in their Org.

detail-keys include the following:

State is required for Argentina, Australia, Brazil, Canada, China, India, Malaysia, and USA. Address2 is required for Brazil. County is auto-populated for US users based on zip code if no value provided; all other details are REQUIRED

Users are created with NO ASSIGNED ROLES

Errors are reflected back to the caller as an xmlrpclib.Fault.faultCode of -500, .faultString containing a list of the errors encountered.

Parameters:

Returns:


Method: disable

Description:
Disables the specified user.

Parameters:

Returns:


Method: enable

Description:
Enable the specified user.

Parameters:

Returns:


Method: getDetails

Description:
Returns the details about a given user.

Parameters:

Returns:


Method: listRoles

Description:
Returns a list of the user's roles.

Parameters:

Returns:


Method: listUsers

Description:
Returns a list of users in your org.

Parameters:

Returns:


Method: removeRole

Description:
Removes the role from the given user.

Parameters:

Returns:


Method: setDetails

Description:
Updates the details of a given user.

Parameters:

Returns: