Search

GlobalSCAPE Knowledge Base

Determining the Expiration Date for a User Account Using the COM API

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server (All Versions)
  • Secure FTP (All Versions)

DISCUSSION

The COM API provides several methods related to user accounts. The method GetExpirationDateAsVariant is used to determine the expiration date of an account. For example:

Dim strUser: strUser = "test"

set oUserSettings = oSite.GetUserSettings(strUser)

dtAccExpDate =  oUserSettings.GetExpirationDateAsVariant()

WScript.Echo ("dtAccExpDate = "  & dtAccExpDate)

Refer to the COM API reference for details.

Details
Last Modified: Last Year
Last Modified By: kmarsh
Type: HOWTO
Article not rated yet.
Article has been viewed 10K times.
Options
Also In This Category
Tags