ISCrdEnr::selectUserName method
The selectUserName method displays a Select User interface, allowing a user name to be selected.
The user name applies to the user on whose behalf the certificate enrollment is intended.
Syntax
HRESULT selectUserName(
[in] DWORD dwFlags
);
SCrdEnr.selectUserName( _
ByVal dwFlags _
)
Parameters
-
dwFlags [in]
-
Reserved for future use. Set this value to zero.
Return value
VB
If the method succeeds, the method returns S_OK.
If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Remarks
Use this method to select the name of the user. After a user name has been selected, its value can be retrieved by calling the ISCrdEnr::getUserName method.
An alternative to using the 'Select User' interface is to specify a user by calling the ISCrdEnr::setUserName method.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
DLL |
|
IID |
IID_ISCrdEnr is defined as 753988a1-1357-436d-9cf5-f089bdd67d64 |
See also