Compartir a través de


IVMSecurity::OwnerSid property

The OwnerSid property contains the SID string of the owner.

This property is read/write.

Syntax

HRESULT put_OwnerSid(
  [in]  BSTR inOwnerSid
);

HRESULT get_OwnerSid(
  [out] BSTR *outOwnerSid
);

VB
VMSecurity.OwnerSid( _
  ByRef outOwnerSid, _
  ByVal inOwnerSid _
)

Property value

The SID string of the owner.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The outOwnerSid parameter was NULL.
E_INVALIDARG
The inOwnerSid 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