Share via


IVMRCClientControl::UserPassword property

The UserPassword property contains the network user account password to use for validating credentials with the VMRC server.

This property is write-only.

Syntax

HRESULT put_UserPassword(
  [in] BSTR userPassword
);

VB
VMRCClientControl.UserPassword( _
  ByVal userPassword _
)

Property value

Sets the network user account password to use for validating credentials with the VMRC server.

This property value is write-only.

Error codes

Name Meaning
S_OK
The operation was successful.
S_FALSE
This property cannot be changed at this time.
E_INVALIDARG
The userPassword parameter was NULL.

Remarks

This property is used in conjunction with the IVMRCClientControl::UserDomain and IVMRCClientControl::UserName properties to set the credentials used when validating credentials with the VMRC server. If all three of these properties are set to a zero-length string, the current default user credentials are used for authentication.

Note

The user password is specified with an unencrypted string.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VMRCClientControl.h
Library
VMRCClientControl.lib

See also

IVMRCClientControl