Compartilhar via


IVMSecurity::CurrentUserAccessRights property

The CurrentUserAccessRights property represents the access rights for the caller of the COM interface.

This property is read-only.

Syntax

HRESULT get_CurrentUserAccessRights(
  [out] IVMAccessRights **accessRights
);

VB
VMSecurity.CurrentUserAccessRights( _
  ByRef accessRights _
)

Property value

The VMAccessRights object which represents the discretionary access control list for the caller of the COM interface.

This property value is read-only.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
accessRights was NULL.
DISP_E_EXCEPTION
An unknown error has occurred.

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