IVMRCClientControl::UserName property
The UserName property contains the network user account name to use for validating credentials with the VMRC server.
This property is write-only.
Syntax
HRESULT put_UserName(
[in] BSTR userName
);
VB |
---|
|
Property value
Sets the network user account to use for validating credentials with the VMRC server.
This property value is write-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
This property cannot be changed at this time. |
|
The userName parameter was NULL. |
Remarks
This property is used in conjunction with the IVMRCClientControl::UserDomain 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 |
|
Library |
|