Retrieving User Profile Properties for the Current User

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

(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.