Table of contents
TOC
Collapse the table of content
Expand the table of content

Update User

CFreemanwa|Last Updated: 1/18/2017
|
1 Contributor

Applies To: System Center 2016 - Orchestrator

You can use the Update User activity in a runbook to update the properties of a user in the Microsoft Active Directory.

This activity publishes all of the data from the required and optional properties into published data. Additional published data is generated based on the class that you select when you define the activity.

The following tables list the required and optional properties and published data for this activity.

Required properties for Update User activity

ElementDescriptionValid Values
Distinguished NameRelative distinguished name that uniquely identifies the user accountString

Optional properties for Update User activity

ElementDescriptionValid Values
Account ExpiresDate that the account expiresDateTime
Account Never ExpiresSpecifies that the account never expiresBoolean
CityUser's cityString
CompanyUser's company nameString
DepartmentUser's department name in their companyString
DescriptionDescription of the userString
Display NameDisplays the name for the userString
Fax NumberUser's fax numberString
First NameUser's first nameString
Home DirectoryThe Home directory for the user accountString
Home DriveSpecifies the drive letter to which the UNC path specified by homeDirectory will be mappedString
Home PhoneUser's home telephone numberString
InitialsInitials of the user's nameString
Last NameUser's last nameString
EmailEmail addresses for the userString
ManagerDistinguished name of the account for the user's managerString
Mobile PhoneUser's mobile telephone numberString
PagerUser's pager telephone numberString
Password Never ExpiresSpecifies that the user's password never expiresBoolean
NotesGeneral notes about the user's telephoneString
OfficeUser's office locationString
Post Office BoxUser's post office box numberString
Postal CodeUser's postal code or zip codeString
Profile PathPath to the location for the user's profileString
Logon ScriptPath and name of the logon script for the accountString
State or ProvinceUser's state or provinceString
Street AddressUser's street addressString
Phone NumberUser's telephone numberString
RDS Allow LogonSpecifies whether the user is allowed to log on to Remote Desktop ServicesBoolean
RDS Broken Connection ActionSpecifies the action to take when a Remote Desktop Services session limit is reachedBoolean
RDS Connect Client DrivesSpecifies whether to reconnect to mapped client drives when user logs on to a Remote Desktop Services sessionBoolean
RDS Connect Printer DrivesSpecifies whether to reconnect to mapped client printers when user logs on to a Remote Desktop Services sessionBoolean
RDS Default To Main PrinterSpecifies whether to print automatically to the client's default printer from a Remote Desktop Services sessionBoolean
RDS Home DirectoryThe Home directory for the user when they log on to Remote Desktop ServicesString
RDS Home DriveThe Home drive for the user when they log on to Remote Desktop ServicesString
RDS Initial ProgramPath and file names of the application to start automatically when the user logs on to the Remote Desktop ServicesString
RDS Max Connection TimeMaximum duration, in minutes, of a Remote Desktop Session for the userInt32
RDS Max Disconnection TimeMaximum amount of time, in minutes, that a disconnected Remote Desktop Services session remains active for the userInt32
RDS Max Idle TimeMaximum amount of time, in minutes, that a Remote Desktop Services session can remain idle for the userInt32
RDS Profile PathRoaming or mandatory profile path to use when the user logs on to Remote Desktop ServicesString
RDS Reconnection ActionSpecifies whether the user is allowed to reconnect to a disconnected Remote Desktop Services sessionBoolean
RDS Remote ControlSpecifies whether to allow remote observation or remote control of the user's Remote Desktop Services sessionInt32
RDS Work DirectoryThe working directory path for the user in a Remote Desktop SessionString
TitleUser's job titleString
User Cannot Change PasswordSpecifies that the user cannot change their passwordBoolean
User Must Change PasswordSpecifies that the user must change their password the next time they log on.Boolean
User Principal NameThis attribute contains the UPN that is an Internet-style login name for a user based on the Internet standard RFC 822String
Web PageUser's primary web pageString

Published data for Update User activity

NameDescriptionValue Type
Account ExpiresDate that the account expiresDateTime
Account Never ExpiresSpecifies that account never expiresBoolean
CityUser's cityString
CompanyUser's company nameString
DepartmentUser's department name in their companyString
DescriptionDescription of the userString
Display NameDisplays the name for the userString
Distinguished NameRelative distinguished name that uniquely identifies the user accountString
Fax NumberUser's fax numberString
First NameUser's first nameString
Home DirectoryThe Home directory for the user accountString
Home DriveSpecifies the drive letter to which to map the UNC path specified by homeDirectoryString
Home PhoneUser's home telephone numberString
InitialsInitials of the user's nameString
Last NameUser's last nameString
EmailEmail addresses for the userString
ManagerDistinguished name of the account for the user's managerString
Mobile PhoneUser's mobile telephone numberString
PagerUser's pager telephone numberString
Password Never ExpiresSpecifies that the user's password never expiresBoolean
NotesGeneral notes about the user's telephoneString
OfficeUser's office locationString
Post Office BoxUser's post office box numberString
Postal CodeUser's postal code or zip codeString
Profile PathPath to the location for the user's profileString
Logon ScriptPath and name of the logon script for the accountString
State or ProvinceUser's state or provinceString
Street AddressUser's street addressString
Phone NumberUser's telephone numberString
RDS Allow LogonSpecifies whether the user is allowed to log on to Remote Desktop ServicesBoolean
RDS Broken Connection ActionSpecifies the action to take when a Remote Desktop Services session limit is reachedBoolean
RDS Connect Client DrivesSpecifies whether to reconnect to mapped client drives when user logs on to a Remote Desktop Services sessionBoolean
RDS Connect Printer DrivesSpecifies whether to reconnect to mapped client printers when user logs on to a Remote Desktop Services sessionBoolean
RDS Default To Main PrinterSpecifies whether to print automatically to the client's default printer from a Remote Desktop Services sessionBoolean
RDS Home DirectoryThe Home directory for the user when they log on to Remote Desktop ServicesString
RDS Home DriveThe Home drive for the user when they log on to Remote Desktop ServicesString
RDS Initial ProgramPath and file names of the application to start automatically when the user logs on to the Remote Desktop ServicesString
RDS Max Connection TimeMaximum duration, in minutes, of a Remote Desktop Session for the userInt32
RDS Max Disconnection TimeMaximum amount of time, in minutes, that a disconnected Remote Desktop Services session remains active for the userInt32
RDS Max Idle TimeMaximum amount of time, in minutes, that a Remote Desktop Services session can remain idle for the userInt32
RDS Profile PathRoaming or mandatory profile path to use when the user logs on to Remote Desktop ServicesString
RDS Reconnection ActionSpecifies whether the user is allowed to reconnect to a disconnected Remote Desktop Services sessionBoolean
RDS Remote ControlSpecifies whether to allow remote observation or remote control of the user's Remote Desktop Services sessionInt32
RDS Work DirectoryThe working directory path for the user in a Remote Desktop SessionString
TitleUser's job titleString
User Cannot Change PasswordSpecifies that the user cannot change their passwordBoolean
User Must Change PasswordSpecifies that the user must change their password the next time they log on.Boolean
User Principal NameThis attribute contains the UPN that is an Internet-style login name for a user based on the Internet standard RFC 822String
Web PageUser's primary web pageString
© 2017 Microsoft