
Use the ICIClientSettings interface GetExpirationDateAsVariant method to determine the expiration date for a particular user account, set with SetExpirationDate. Refer to User Account General Settings for an illustration of how this and other Client Settings Interface Methods and Properties can be accessed in the Administrator interface.
|
|
This method is available in EFT Server 4.3.4 and later. |
Signature:
HRESULT GetExpirationDateAsVariant(
[out, retval] VARIANT *dDate);
dDate results in a string value, i.e. "4/29/05"
Example:
Dim strUser: strUser = "test"
set oUserSettings = oSite.GetUserSettings(strUser)
dtAccExpDate = oUserSettings.GetExpirationDateAsVariant()
WScript.Echo ("dtAccExpDate = " & dtAccExpDate)