I manage a MOSS 2007 portal in Windows Server 2003, with a SQL Server 2005 backend. We use Active Directory as the source for our SharePoint accounts. I have written a Web Part that allows the user to edit certain fields in Active Directory,
but the changes are not synched with the site collection right away.
I understand that the sync process is something like this:
1. Active Directory is updated.
2. SSP syncs with Active Directory (can force a sync from the web page, or with STSADM).
3. SSP syncs with underlying Site Collections (can force with STSADM).
This means that a user updates their information, but it is not apparent to them that the change went through, because the site collection profile is not updated. I know I can force a sync manually, but I want to do it programmatically.
What I want to do is this: From my C# code in my Web Part, at the moment a user updates an Active Directory account, that account is synched with SSP, and then the SSP profile is updated in the site collection (I only have one site collection at the
moment). What is the code to accomplish this?
Christopher W. Douglas
View Complete Post