GetLockoutInfo method

Determines if an account is locked and returns lock information.

Syntax


C++
HRESULT GetLockoutInfo(
   DATE* pWhenLocked,
   BSTR* pIPAddress,
   VARIANT_BOOL* pLockStatus)
Scripting languages

Use the GetLockoutInfo2 method.

Parameters


pWhenLocked

Upon return, the date and time when the account was locked.

pIPAddress

Upon return, the IP Address of the user at the time of the lockout.

pLockStatus

Upon return, TRUE if the account is locked, FALSE otherwise.

Return value


C++

The return code.

Scripting languages

Whether the account is locked, the time the account was locked, and the user's IP address.

Home

Applies to

IERUUser