Loop
Software
Directory Online
People can search the directory, view contact and address details and edit their own details. The Directory Online also acts as an online phone book for your organization.
Sample code is provided to demonstrate how the search page can be used as a web page dialog to return a user's properties to a calling page. Using this code you will be able to add directory lookup features to your existing web forms.
Directory Online.msi is available from Loop Software. Run this set-up program on the server where you want to install the Directory Online.
The setup program will create a virtual directory, named DirectoryOnline by default, and install the .Net web application into that directory.
To control access to the Directory Online the directory security for the DirectoryOnline virtual directory should be set to Integrated Windows Authentication.
User Directory
Web Page: ADLookup.aspx
Search and list the active directory for people using a selected letter, group of letters, surname or full name. Right clicking on a user name pops up a menu to view the properties for that user or email the user.
Collaborative Applications
Web Page: ADLookup.aspx
This page can be run as a web page dialog and return the selected user to a calling web page, the required property can then be used to populate a field in the web page. Sample code is provided in default.aspx for calling the user search form and returning the selected user's properties to the calling web page.
Editable user properties page
Web Page: ADProps.aspx
Accessed via the user directory, ADLookup.aspx. If the AllowUserEdit flag is set users will be allowed to edit certain properties of their own directory entry. The properties displayed and editable properties can be set by editing the HTML of the aspx page. To enable editing of user properties the pages must be hosted on a server that is running the Active Directory (i.e. a Domain Controller). Users must also have permissions to edit their own properties in the Active Directory, if they do not have permissions on any of the properties they edit they will get an Access Denied message when trying to save changes.
Schema page
Web Page: schema.aspx
Lists available properties and their values for an Active Directory object. The Active Directory path to the object to view can be manually entered or passed to the page as a parameter named Path. The default.htm sample page provides sample links to the schema page - click on Select User, select a user by double clicking on the User Directory, you will then get a link in default. to view that user's Active Directory schema and properties.
Configuration
Configuration settings are stored in the <appSettings> section of the web.config which will be located in the web site directory where Directory Online was installed.
Configuration settings can be controlled via a web interface in License.aspx.
Settings:
- AllowUserEdit: Controls user editing of their Active Directory address and contact details in ADProps.aspx
- True: Users can edit their own address and phone details
- False: Users cannot edit
- AllowListAll: Controls whether users can browse the entire directory when an empty search criteria is entered in ADLookup.aspx
- SearchShortcuts: Controls row of letters used in search page (ADLookup.aspx) as shortcuts for searching, these shortcuts appear as a row of characters at the top of the page e.g. STU for all users with surnames starting with S, T and U
- 0 No search shortcuts
- 1 Single letter search shortcuts (eg A, B, C, etc)
- 2 Grouped letter shortcuts (eg ABC, DEF, etc) not recommended if more than 200 or so users
- Domain: Sets the Active Directory domain to be searched can be left blank in which case the current domain of the logged on user will be used (depending on IIS authentication settings).