Share via


IVMSecurity::OwnerName property

The OwnerName property contains the account name of the owner.

This property is read/write.

Syntax

HRESULT put_OwnerName(
  [in]  BSTR inOwnerName
);

HRESULT get_OwnerName(
  [out] BSTR *outOwnerName
);

VB
VMSecurity.OwnerName( _
  ByRef outOwnerName, _
  ByVal inOwnerName _
)

Property value

The account name of the owner. This may be a SID string if the account name cannot be resolved.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The outOwnerName parameter was NULL.
E_INVALIDARG
The inOwnerName parameter was invalid or empty.
DISP_E_EXCEPTION
An unknown error has occurred. Other HRESULT error values may be returned as well.

Requirements

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

See also

IVMSecurity