SysAutoRun.execSyncServiceUserAccount Method [AX 2012]

Create the synchronization service admin user account.


protected boolean execSyncServiceUserAccount(XmlNode _command)

Run On



  • _command
    Type: XmlNode Class
    The XML node to get the required input values from.

Return Value

Type: boolean
true if execution is successful; otherwise, false.


Execution of this method is controlled by the SysAutoRun.execCommand method.

This method is called when the XML tag SyncServiceUserAccount is used in the configuration file when Microsoft Dynamics AX is started.

The XML tag SyncServiceUserAccount has the following attributes:

  • useDomainUser - Specifies whether to use the domain user passed in as the synchronization service user or not.

  • domainUserAlias - The domain user alias.

  • domainName - The domain name for the domain user alias.

  • axUserId - The ID for the user.

See Also


SysAutoRun Class