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 abstract class DirectoryGateway
Visual Basic (Declaration) Copy imageCopy Code
                                  Public MustInherit Class DirectoryGateway

The type exposes the following members.

Public Constructors

  Name Description
Public method DirectoryGateway
Initializes a new instance of the DirectoryGateway class.

Public Methods

  Name Description
Public method CheckReleaseSettings
Reads release setting(s) from the Smartsite.config configuration file.
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.
Public method CreateUserOrVisitor
Creates the user or visitor.
Public method Equals (Inherited from Object.)
Public method EscapeSpecialCharacters
Escapes the special characters.
Public method GetActiveDirectoryUserGroups
Gets the active directory user groups.
Public method GetDomainUser
Gets the domain user.
Public method GetHashCode (Inherited from Object.)
Public method GetSmartsiteUserId
Gets the smartsite user id.
Public method GetType (Inherited from Object.)
Public method GetUser
Gets the user.
Public method ToString (Inherited from Object.)
Public method TryMapUser
Tries to map the user.
Public method UpdateUserAccount
Updates the user account.

Protected Methods

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

Public Properties

  Name Description
Public property ConfigSection
Gets the Active Directory config section.
Public property DashboardAccessGroup
Gets the dashboard access group.
Public property DefaultDomain
Gets the default domain.
Public property ForceVisitorGroup
Gets the force visitor group.
Public property ManagerAccessGroup
Gets the manager access group.
Public property SmartsiteGroup
Gets the smartsite group.
Public property StoreFullyQualifiedLoginName
Gets a value indicating whether to store fully qualified login names.
Public property SupportedDomains
Returns a list of domain names which are supported through this gateway.
Public property SwitchProviderOnSupportedDomainsList
Determines which method of switching membership provider(s) should be used.
Public property UpdatePrimaryGroup
Gets a value indicating whether to update the primary group for existing users.

See Also

Advanced