Tag: Shared Services Provider
Retrieving User Profile Properties for the Current User
by liquidpooled on Dec.16, 2008, under .NET, MSDN, Microsoft, Office, Sharepoint Server, TechNet, Visual Studio 2005, Visual Studio 2008, Windows SharePoint Services
Retrieving a user’s profile properties can be achieved with the following block:
Creating Custom Profile Properties through Code (C#)
by liquidpooled on Dec.16, 2008, under .NET, MSDN, Microsoft, Office, Sharepoint Server, TechNet, Visual Studio 2005, Visual Studio 2008, Windows SharePoint Services
I recently needed to add several custom profile properties through a web part for tracking a users’ security preferences for a particular web application.
The following is the method used to create four new properties in the SSP:
Filtering Inactive User Profiles From an SSP
by liquidpooled on Dec.16, 2008, under Microsoft, Office, Sharepoint Server, Windows SharePoint Services
To filter inactive Active Directory users from a Share Services Provider, an updated “User Filter” is required. The following filter:
(&(objectCategory=Person)(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
will automatically skip over inactive domain accounts when profile imports are occurring.