SharePoint world of ECM and Information Management

SharePoint Tip #13. Do you know “that people picker selects disable account by default”?

People Picker is a nice feature of SharePoint which allows search for a user/group when assigning permissions for example. But it has one issue, selecting accounts and groups which are “disabled” by default. To do this you need to apply LDAP filters via STSADM command

stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -url ">">http://<site> –pv (!userAccountControl=514)

Source

 

Have anything to add?! Send your tips to be published via this form

Comments

vish said:

I could able to access the user account.

using pplPicker.Acounts[0] giving me domain\userid.

How can I access userEmailid, address etc details of an account.

thanks in advance.

vish

# June 20, 2009 1:09 PM

Michael said:

Did you use PickerEntity.EntityData property?!

Email should be there.

See these samples

1) mysharepointblog.com/.../How-to-use-the-PeoplePicker-in-SharePoint.aspx

2) social.technet.microsoft.com/.../1b828093-1e5e-42f7-b9d2-10c62df498a6

# June 20, 2009 7:44 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)