Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

People picker

  Asked By: Malinda    Date: Oct 21    Category: Sharepoint    Views: 2504

Is there a way to force PeoplePicker to search and return email-enabled
distribution lists or is it totally impossible?



8 Answers Found

Answer #1    Answered By: Tera Callahan     Answered On: Oct 21

By changing the attributes where the PeoplePicker is declared on the page you
can get it to recognize distribution lists, but once it returns them to the page
SharePoint can't use them. So when you submit the page you will get an error.
I don't know of any way to get SharePoint to accept a DL when its looking for a
security group.

Answer #2    Answered By: Mark Davis     Answered On: Oct 21

It just seems beyond the realm of possibility that I can code the SelectionSet
property in a SharePoint PeoplePicker if I create a custom control. The property
is there to be set. The four enumerated types are SecGroup, User, SPGroup and
DL. The first three are on by default OOB. Why isn't DL (Distribution List) on
OOB? How is this not a simple switch somewhere? I've even twiddled with the
STSADM commands for PeoplePicker to no avail...

Answer #3    Answered By: Delilah Mcpherson     Answered On: Oct 21

Sorry, I wasn't clear in my last message. It is a simple change to an attribute
on one of the built-in pages. All you need to do is change the SelectionSet
attribute in the PeopleEditor control declaration on the ALCinv.aspx page stored
in the Layouts directory of the 12 hive. Once you do that the PeoplePicker will
return DLs just as it was designed to do. The problem is that once you select a
DL and submit the page SharePoint is unable to assign permissions to the DL
because the DL doesn't have a SID, so an error is generated. That has nothing
to do with the PeoplePicker control, its the way that Security works in
SharePoint. That's why the PeoplePicker on that page is set up OOB to default
to SecGroup, User, and SPGroup, but not DL. DLs don't work, so PeoplePicker
doesn't allow you to select them. Changing the PeoplePicker won't change that.

As I remember you could pick DLs in SPT 2003, but when you did they didn't react
the way people  expected. Since the permissions couldn't be assigned to the
group it simply expanded the group to the individual members and assigned the
rights to them. Once assigned the group was promptly forgotten. Adding new
users didn't assign permissions the way people expected that it would. So in
2007 they removed the ability to even select DLs. That way people don't get

In short, even if you get the people picker  to select DLs you can't use DLs for

Answer #4    Answered By: Gobinda Navalagi     Answered On: Oct 21

I hope this doesn't mean I can't use this for the address in an email? The
trouble I have been having (I wasn't aware this clarification should have been
made) is that I am attempting to select groups from my A.D. that are
email-enabled so that I can notify them once an approval process has reached its
successful conclusion. Problem was that I couldn't see them from SharePoint. I
absolutely don't want to assign permissions to these groups through SharePoint.
We have separate Security groups that fulfill that function. I will go in and
tinker in our DEV/TEST environment and see how this plays out! Thank you all,
and I will let you all know how it turned out!

Answer #5    Answered By: Rose Silva     Answered On: Oct 21

This isn't the People Picker I am after. I am after the control you can add as a
Site/List Column. I need to extend it to pick DL's.

Answer #6    Answered By: Maegan Ellison     Answered On: Oct 21

Ok, I see. At the root it still is the same control, but in your case its been
embedded inside a .dll that contains the code for a custom column. I don't know
if that can be changed or not. I'll need to do some poking around with the
actual custom column. My suspicion is that the only way to chang it now that
the control is embedded in an assembly would be to create your own custom column
that inherits from that built in column or create a custom column that
duplicates the functionality. Both would would be custom code.

Answer #7    Answered By: Yahaira Shannon     Answered On: Oct 21

There are really 2 questions:

1) Is it possible to get PeoplePicker to return  the DLs?

2) Can the DL that is return actually be used.

For #1 DLs _are_ turned on by default, but only in areas where #2 is yes
(Audience Targeting is the only place that comes to mind). For #2 the
answer is that you cannot use DLs for anything that attempts to use the
PeoplePicker results an ACL/ACE since DLs by design don't include any
security information. This means they cannot be used for site
collection/web/list/library/item permissions.

Answer #8    Answered By: Doris Leach     Answered On: Oct 21

A DL has no SID, so no go. Sorry. You could enable
the DL as a security group and use it.

Look at last week's group history for todd's explanation - he did a pretty good
job and I hate to repeat him.

Didn't find what you were looking for? Find more on People picker Or get search suggestion and latest updates.