ISProvider.PasswordExpirationDate

Description

The expiry date of the provider's password.

Syntax

object.PasswordExpirationDate

Part Attribute Type Description
object Required
The object always implements the ISProvider interface

Return Value

DateTime

Example

Display the expiry date of the provider's password.

Dim aFilter 
Dim aProviders
Dim aProvider
Dim aMessage

Set aFilter = Profile.CreateProvidersFilter
aFilter.Category = 2 'pcProvider 
set aProviders = Profile.LoadProvidersByFilter(aFilter)

aMessage = aMessage & vbNewLine &_
  "The number of the providers is " & aProviders.Count

for each aProvider in aProviders
  aMessage = aMessage & vbNewLine &_
    "The expiry date of " & aProvider.FullName & "'s password is " &_
    aProvider.PasswordExpirationDate
next
 
Profile.MsgBox (aMessage)  
Note: The macro enforces password rules, such as minimum length or requiring a combination of letters and numbers. It can be found in Organisation/Preferences/Aero & Accession/ Provider/ Security tab/Validate password macro. Example: Variable("ExpiryDate").Value = DateAdd("d", 10, Now)

In Profile Client v8 on User Interface Password Expiration Date cannot be found.

Version information

Added in v7.8.0