Managed Active Directory::RenameUser

The RenameUser method renames an Active Directory user.

Arguments

The RenameUser method accepts the following input parameters.

Input arguments Required Description

User

No

The LDAP path to the user object.

NewName

No

The new name for the user.

PreferredDomainController

No

The domain controller to use for this operation.

SendCredentials

No

True/False: embed basic authentication credentials in the MPF request.

ErrorReturn

No

Out parameter containing the error (if any) thrown by MPF during the processing of the request.

Output Arguments

The RenameUser method returns the LDAP path to the newly renamed user.

Remarks

No remarks.

Sample Code

No sample code.

Applies To

Managed Active Directory Web Service for:

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0

See also

Tasks

Managed Active Directory::CreateUser
Managed Active Directory::DeleteUser
Managed Active Directory::DisableUser
Managed Active Directory::EnableUser
Managed Active Directory::ModifyUser