Welcome to Office Zealot Sign in | Join | Help

Browse by Tags

All Tags » Active Directory   (RSS)

A Revised Code Snippet on Getting User Emails from Active Directory

A few days ago I posted a code snippet for getting email addresses from Active Directory in my SharePoint web part. Yes, it worked fine... for a single domain. But what if you have users across multiple domains in your forest. The code snippet below deals

Code Snippet to Get User Emails from Active Directory

I am building a SharePoint 2010 web part that does conference room scheduling and I needed to add functionality to add users to a meeting invitation (I'll post code for creating meeting invites through SMTP in another post). The code below allows the

Limiting the SharePoint People Picker List

Found another goodie in MOSS SP1... By default, a web application that is tied to Windows Authentication will search the entire Active Directory to resolve user names. This is great for a corporate intranet but what if you are building something smaller
Posted by Mauro | 0 Comments
Filed under: ,

Web Service to Query Active Directory Attributes

Been on a coding kick lately... My colleagues and I are working on some custom SharePoint workflows and one of them requires obtaining some user data from Active Directory. A great way to handle this is through the use of a web service. Once implemented,
Posted by Mauro | 1 Comments

Querying Active Directory from SQL Server

Had a request a few weeks ago to get a list of AD users by writing some custom code. While I love to write code, I thought there had to be an easier (faster) way to get my data. There is... t-sql! Here's what I did: 1. Add a linked server to Active Directory.
Posted by Mauro | 23 Comments
Filed under: ,