IAzBizRuleContext::GetParameter method (azroles.h)

The GetParameter method gets the specified value from the varParameterValues parameter of the IAzClientContext::AccessCheck method.

Syntax

HRESULT GetParameter(
  [in]  BSTR    bstrParameterName,
  [out] VARIANT *pvarParameterValue
);

Parameters

[in] bstrParameterName

Name of the value to return. The name must match the name in one of the elements in the array passed into the varParameterNames parameter of the AccessCheck method.

Important  Users of VBScript must be aware that the comparison between this parameter and the names in the varParameterNames parameter is case sensitive.
 

[out] pvarParameterValue

Parameter value from the varParameterValues parameter of the AccessCheck method that corresponds to the name specified by the bstrParameterName parameter, if found; otherwise, NULL.

Return value

If the method succeeds, the method returns S_OK.

Any other HRESULT value indicates that the operation failed.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP