Class ManagedAccountsContainer
Represents configuration of AD container that stores managed domain accounts
Inheritance
System.Object
ManagedAccountsContainer
Namespace: AdmPwd.Types
Assembly: AdmPwd.PDSWrapper.dll
Syntax
public class ManagedAccountsContainer : Object
Constructors
ManagedAccountsContainer(string, uint, uint, PasswordComplexity, uint, Nullable<uint>)
Default constructor
Declaration
public ManagedAccountsContainer(string dn, uint passwordAge, uint pwdLength, PasswordComplexity pwdComplexity, uint pwdHistoryLength, Nullable<uint> keyId)
Parameters
Type | Name | Description |
---|---|---|
string | dn | DistingushedName of the container |
uint | passwordAge | Desired max password age before rotating it |
uint | pwdLength | Required length of password, in chars |
PasswordComplexity | pwdComplexity | Required password complexity |
uint | pwdHistoryLength | How many records to keep in password history |
System.Nullable<><uint> | keyId | KeyId for password encryption. Pass null to let PDS choose latest one |
Properties
Complexity
Required password complexity
Declaration
public PasswordComplexity Complexity { get; }
Property Value
Type | Description |
---|---|
PasswordComplexity |
DN
DistingushedName of the container
Declaration
public string DN { get; }
Property Value
Type | Description |
---|---|
string |
KeyId
KeyId for password encryption.
If not specified, PDS automatically choses latest key.
Declaration
public Nullable<uint> KeyId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<><uint> |
PasswordAge
Desired max password age to automatically change it
Declaration
public uint PasswordAge { get; }
Property Value
Type | Description |
---|---|
uint |
PasswordHistoryLength
How many records to keep in password history
Declaration
public uint PasswordHistoryLength { get; }
Property Value
Type | Description |
---|---|
uint |
PasswordLength
Required length of password, in chars
Declaration
public uint PasswordLength { get; }
Property Value
Type | Description |
---|---|
uint |