Share via


SPManagedAccount.PasswordExpiration property

Gets the date when the password will expire.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property PasswordExpiration As DateTime
    Get
'Usage
Dim instance As SPManagedAccount
Dim value As DateTime

value = instance.PasswordExpiration
public DateTime PasswordExpiration { get; }

Property value

Type: System.DateTime
A DateTime object that contains the date the password is to expire.

See also

Reference

SPManagedAccount class

SPManagedAccount members

Microsoft.SharePoint.Administration namespace