Skip to content
May 16, 2009 / red1s

SharePoint 2007 Profiles explained

There are multiple ways to create a connection to users in MOSS 2007 – the easiest of these ways would be the selection of the entire forest.

Due to this being quite a cumbersome method when working with large Active Directories the use of filtering on this becomes quite a large requirement, the following link shows a user how to decode the AD filtering string and language and better get the required users/profiles form active directory using a specific AD and even multiple groups: which can be done either via a filter: – while constructing your AD filter the following link will assist in allowing you to put it together and understand the terms/syntax required to be used: ;or by a LDAP connection:

If you’re looking to be more specific, you would also be able to point to specific OU groups using the STSADM command setsiteuseraccountdirectorypath – for example:

stsadm -o setsiteuseraccountdirectorypath -path “OU=Users,OU=Accounting, DC=company,DC=com” -url

The following link had an extremely good explanation of how the whole process works within SharePoint as well as a diagrammatic flow of what occurs during the import/accessing processes of profiles:

Once you’ve managed to retrieve all the users there are multiple ways of going about cleating the profiles in AD which is mentioned in detail in the following article:


However if you ‘d need to clear the users out of the relevant site you’d have to use an STSaADM command called deleteallusers:

stsadm -o gl-deleteallusers -url http://portal/sites/site1


Hope this shed’s some light on the profiles operation and structure within SharePoint 2007 – I know that most of the discovered articles did well in in explaining how these operations work within MOSS 2007 to me 😉

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: