Salamander Redirect Web Part

6 March, 2009

Salamander Redirect Web Part

I’ve just finished writing another web part. This one is a web part which simply redirects the user to another page. There’s quite a few of these around, but none of them suited the school who had the requirement. Their problem was that there were multiple domains the users could belong to – a domain per school, and the existing web parts couldn’t handle this, they were only able to look in one default domain, for example to find the active directory groups they redirected based on.

Salamander Redirect Web Part redirects based on the OU the user is contained in. The list of OUs and the redirect urls are kept in a SharePoint custom list on the same site and the most specific one is used to redirect the user. For example if the following data is in the list 

ou=students,ou=users,dc=school1,dc=local    http://sharepoint/school1/students 
ou=staff,ou=users,dc=school1,dc=local          http://sharepoint/school1/staff 
ou=users,dc=school1,dc=local                       http://sharepoint/school1 

Then if the user is in ou=students,ou=users,dc=school1,dc=local they will be redirected to http://sharepoint/school1/students, but if they are in ou=support,ou=users,dc=school1,dc=local they will be redirected to http://sharepoint/school1/. 

If you are interested then please send an email to


Richard Willis

Written by

Copyright © 2024 SalamanderSoft Limited