AccountStoreCollection.NewActiveDirectoryStore Method ()
Adds a new ActiveDirectoryAccountStore object to the AccountStoreCollection.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
public ActiveDirectoryAccountStore NewActiveDirectoryStore()
public:
ActiveDirectoryAccountStore^ NewActiveDirectoryStore()
member NewActiveDirectoryStore : unit -> ActiveDirectoryAccountStore
Public Function NewActiveDirectoryStore As ActiveDirectoryAccountStore
Return Value
Type: System.Web.Security.SingleSignOn.ActiveDirectoryAccountStore
The new ActiveDirectoryAccountStore object.
Exceptions
Exception | Condition |
---|---|
ConfigurationException | A method called to create an ActiveDirectoryAccountStore object when the collection already contains one. |
Remarks
At most, this collection can contain one ActiveDirectoryAccountStore.
See Also
AccountStoreCollection Class
System.Web.Security.SingleSignOn Namespace
Return to top