IVMSecurity::FindEntry method
The FindEntry method finds an existing access control entry.
Syntax
HRESULT FindEntry(
[in] BSTR nameOrSid,
[in] VMAccessRightsType type,
[out] IVMAccessRights **foundEntry
);
Parameters
-
nameOrSid [in]
-
The account name or SID.
-
type [in]
-
The type of access control entry.
-
foundEntry [out]
-
The access control entry.
Return value
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
No entry with the specified name and type was found. |
|
The parameter nameOrSid or foundEntry was null. |
|
An invalid value was specified for parameter type. |
|
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 |
|