This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class ActiveDirectoryGateway
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class ActiveDirectoryGateway

The type exposes the following methods.

Public Methods

  Name Description
Public method CheckReleaseSettings
Reads release setting(s) from the Smartsite.config configuration file.
(Inherited from DirectoryGateway.)
Public method CreateDatabase
Creates a (custom) database connection, based on the database id specified (corresponding with an database id within Smartsite.Data.config). This method must be called when this class is used outside a running instance of the publication engine.
(Inherited from DirectoryGateway.)
Public method CreateUserOrVisitor
Creates the user or visitor.
(Inherited from DirectoryGateway.)
Public method Equals (Inherited from Object.)
Public method EscapeSpecialCharacters
Escapes the special characters.
(Inherited from DirectoryGateway.)
Public method GetActiveDirectoryUserGroups
Retrieve the user groups the user belongs to.
(Overrides DirectoryGateway..::GetActiveDirectoryUserGroups(String).)
Public method GetDomainUser
Gets the domain user.
(Overrides DirectoryGateway..::GetDomainUser(String).)
Public method GetHashCode (Inherited from Object.)
Public method Static member GetLDAPConnectionString
Get LDAP connection string from the configuration settings.
Public method GetSmartsiteUserId
Gets the smartsite user id.
(Inherited from DirectoryGateway.)
Public method GetType (Inherited from Object.)
Public method GetUser
Get Active Directory user specified by the user
(Overrides DirectoryGateway..::GetUser(DomainUser).)
Public method ToString (Inherited from Object.)
Public method TryMapUser
Tries to map the user.
(Inherited from DirectoryGateway.)
Public method UpdateUserAccount
Updates the user account.
(Overrides DirectoryGateway..::UpdateUserAccount(DomainUser, ActiveDirectoryUser, Int32).)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

See Also

Advanced