Compartilhar via


IVMRCClientControl::UserDomain property

The UserDomain property contains the network domain to use for validating credentials with the VMRC server.

This property is write-only.

Syntax

HRESULT put_UserDomain(
  [in] BSTR userDomain
);

VB
VMRCClientControl.UserDomain( _
  ByVal userDomain _
)

Property value

Sets the network domain 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 userDomain parameter was NULL.

Remarks

This property is used in conjunction with the IVMRCClientControl::UserName and IVMRCClientControl::UserPassword 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.

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