Platform SDK: Smart Card Enrollment Control |
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.
objSCEnroll.selectUserName(dwFlags As Long)
This method has no return values.
Use this method to select the name of the user. Once 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.
' Display the Select User dialog box Senroll.selectUserName(0)
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Library: Included as a resource in Scrdenrl.dll.
ISCrdEnr::getUserName, ISCrdEnr::resetUser, ISCrdEnr::setUserName