removeUser


SoftLayer_User_Permission_Role::removeUser

Unassign a user customer from the role.

Overview

Unassigns a SoftLayer_User_Customer object from the role.


Parameters

Name Type Description
user SoftLayer_User_Customer Remove role from provided user.

Required Headers

  • authenticate
  • SoftLayer_User_Permission_RoleInitParameters

Return Values

  • void

Error Handling

  • SoftLayer_Exception_PermissionDenied

Throws the exception “Can’t remove user to role: Permission Denied.” if a customer user attempts this request without the proper permission.

  • SoftLayer_Exception_User_Permission_Inaccessible

Throws the exception “Invalid user” if the user customer does not exist.