Retrieving User Profile Properties for the Current User

Retrieving a user’s profile properties can be achieved with the following block:

(more…)

Creating Custom Profile Properties through Code (C#)

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:

(more…)

Filtering Inactive User Profiles From an SSP

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.

Performance Optimization WordPress Plugins by W3 EDGE