AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Contains information about the account password policy.

This data type is used as a response element in the GetAccountPasswordPolicy action.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.PasswordPolicy

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class PasswordPolicy : Object

The PasswordPolicy type exposes the following members

Constructors

NameDescription
Public Method PasswordPolicy()

Properties

NameTypeDescription
Public Property AllowUsersToChangePassword System.Boolean Gets and sets the property AllowUsersToChangePassword.

Specifies whether IAM users are allowed to change their own password.

Public Property ExpirePasswords System.Boolean Gets and sets the property ExpirePasswords.

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge is contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

Public Property HardExpiry System.Boolean Gets and sets the property HardExpiry.

Specifies whether IAM users are prevented from setting a new password after their password has expired.

Public Property MaxPasswordAge System.Int32 Gets and sets the property MaxPasswordAge.

The number of days that an IAM user password is valid.

Public Property MinimumPasswordLength System.Int32 Gets and sets the property MinimumPasswordLength.

Minimum length to require for IAM user passwords.

Public Property PasswordReusePrevention System.Int32 Gets and sets the property PasswordReusePrevention.

Specifies the number of previous passwords that IAM users are prevented from reusing.

Public Property RequireLowercaseCharacters System.Boolean Gets and sets the property RequireLowercaseCharacters.

Specifies whether to require lowercase characters for IAM user passwords.

Public Property RequireNumbers System.Boolean Gets and sets the property RequireNumbers.

Specifies whether to require numbers for IAM user passwords.

Public Property RequireSymbols System.Boolean Gets and sets the property RequireSymbols.

Specifies whether to require symbols for IAM user passwords.

Public Property RequireUppercaseCharacters System.Boolean Gets and sets the property RequireUppercaseCharacters.

Specifies whether to require uppercase characters for IAM user passwords.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1