ICluster::IsAdmin method
Determines whether the user is a member of the cluster's Administrators group.
Syntax
HRESULT IsAdmin(
[out] VARIANT_BOOL *pRetVal
);
Parameters
- pRetVal [out]
The value is VARIANT_TRUE if the user is a member of the Administrators group on the head node; otherwise, VARIANT_FALSE.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, call the ICluster::get_ErrorMessage method.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |