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: http://sharepointsherpa.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/ – 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: http://msdn.microsoft.com/en-us/library/aa746475.aspx ;or by a LDAP connection: http://www.mindsharpblogs.com/wayne/archive/2005/06/15/497.html

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 http://portal.company.com

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: http://blah.winsmarts.com/2007-7-MOSS_User_Profile_Info_-_How_the_information_flows.aspx

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: http://blogs.msdn.com/b/gyorgyh/archive/2009/11/13/how-it-works-moss-2007-automatic-user-profile-removal.aspx

clip_image001

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

clip_image002

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 😉

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: