Visit our SharePoint Forum

SharePoint developer? Submit Yourself as Freelancer

Thursday, February 21, 2008

Look For Users in Active directory,in Sharepoint

The Post has been moved to my new Blog
Check SharePoint Current loggedin user in Active directory

9 comments:

Anonymous said...

hey cool.
nice code snippet, but what is your txtUSerName?!

cheers

Isha kapoor said...

@thorge

txtUserName was a Textbox in which user enters its login id and then we look in active directory for users name and e-mail Id On hit of GetUserDetails Button.

Anonymous said...

hi,

i am a complete SP newbie....

this looks exactly what i want..
how do i put the code behind a button in SP designer ?

currently have : {{input name="Button1" type="button" value="button" /?

Thanks

Anonymous said...

Hi Isha,

Thanks for the code snippet. It was very useful. I have an AD group which is assigned to a Sharepoint group. When I try to assign a task to a user under the AD group through workflow create task, it was not able to find the user in sharepoint.
I used web.EnsureUser(usrName) before assigning the task to the user and it works perfectly. Thanks once again.

Kiran

Sakin Shetty said...

hi,

code to create an user in active directory through webpart

Anonymous said...

Great Article ...

Dominic Horne said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.
Mansoor said...

Hi ISHA, and All,

I am working in WSS 3.0.My Requirement is

Whenver User modified his user profile in contact list it will updated in AD. For example

I Modifying one of user called "mansoor" his contact number in Contact list. when he click OK it will updated contact list and also should updated in AD.

please help me out ,client wants this requirement ,I already cross the deadline .
PLEASE DO THE NEEDFULL......Waiting your replay

Mansoor

SharePoint Programming