/// <summary> /// Initializes a new instance of the <see cref="ActiveDirectoryAccountFactory"/> class. /// </summary> /// <param name="ldapRoot">The LDAP root.</param> /// <param name="accountStorageInteraction">The account store.</param> public ActiveDirectoryAccountFactory(string ldapRoot,IAccountStorageInteraction accountStorageInteraction) : base(accountStorageInteraction) { _root = new DirectoryEntry(ldapRoot); }
/// <summary> /// Initializes a new instance of the <see cref="WindowsAccountFactory"/> class. /// </summary> /// <param name="authType">Type of the auth.</param> /// <param name="accountStorageInteraction">The account store.</param> public WindowsAccountFactory(string authType, IAccountStorageInteraction accountStorageInteraction) : base(accountStorageInteraction) { _authType = authType; }