Compartilhar via


IVMSecurity::GroupName property

The GroupName property retrieves the account name of the group.

This property is read/write.

Syntax

HRESULT put_GroupName(
  [in]  BSTR groupName
);

HRESULT get_GroupName(
  [out] BSTR *groupName
);

VB
VMSecurity.GroupName( _
  ByRef groupName, _
  ByVal groupName _
)

Property value

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

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The groupName parameter was NULL.
E_INVALIDARG
The groupName parameter was invalid or empty.
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