disableUser()

Disables a user, preventing logon to the agent machine.

Operating systems supported: Windows, OS X, Linux

Example

disableUser("#username#", "All Operating Systems", "Halt on Fail")