Application Programming Interface Guide > Web Services Operations > Operations Reference > updateUserLockState
 
updateUserLockState
Change the lockout state for a user.
Location
/services/webservices/system/admin/user/operations/
Request Elements
userName: user@domain
lockUser: whether the user is to be locked or unlocked
Response Elements
locked: Whether the new status of the user is locked or unlocked; note that a user attempting to sign on rapidly could trigger a new locked state during invocation, so an unlock returning FALSE is not necessarily a failure.
Faults
Security: If the user does not have MODIFY_ALL_USERS right.