/// <summary>
 /// Provide connection information for Active Directory
 /// </summary>
 /// <param name="connectionInfo">Information for connecting to Active Directory</param>
 public void SetActiveDirectoryConnectionInfo(ActiveDirectoryConnectionInfo connectionInfo)
 {
     adInfo = connectionInfo;
 }
Example #2
0
 /// <summary>
 /// Creates an instance of the ActiveDirectory class
 /// </summary>
 /// <param name="ConnectionInfo">Information for connecting to Active Directory</param>
 public ActiveDirectory(ActiveDirectoryConnectionInfo connectionInfo)
 {
     AD          = connectionInfo;
     isAvailable = true;
 }
 /// <summary>
 /// Create a new instance of the Business Portal Identity class
 /// </summary>
 /// <param name="identity">Identity object of current user</param>
 /// <param name="connectionInfo">Information for connecting to Active Directory</param>
 public AdInfo(String identity, ActiveDirectoryConnectionInfo connectionInfo)
 {
     SetActiveDirectoryConnectionInfo(connectionInfo);
     SetIdentity(identity);
 }