activities
latest
false
UiPath logo, featuring letters U and I in white

IT Automation Activities

Last updated Mar 2, 2026

Set User Status

UiPath.ActiveDirectoryDomainServices.Activities.SetUserStatus

Description

Sets the status of a user account.

Project compatibility

Windows - Legacy | Windows

Configuration

Common
  • DisplayName - The display name of the activity.
Input
  • DistinguishedName - The distinguished name of the user account.
  • Status - Establishes the new status of the specified user account. The default value is Unlocked.
  • Connection - Establish the connection that needs to be used. There are three available options, Auto, Primary, and Secondary. The default option is Auto. When set to Auto, the activity tries to automatically resolve the connection from the object’s distinguished name.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated