ISCrdEnr::resetUser method

The resetUser method clears the user name from the smart card control.

Syntax

HRESULT resetUser();

Parameters

This method has no parameters.

Remarks

This method clears any existing user name and previously enrolled certificate from memory. The previously enrolled certificate is not removed from the smart card, however.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2003 [desktop apps only]
DLL
Scrdenrl.dll
IID
IID_ISCrdEnr is defined as 753988a1-1357-436d-9cf5-f089bdd67d64

See also

ISCrdEnr

ISCrdEnr::getUserName

ISCrdEnr::selectUserName

ISCrdEnr::setUserName