Hi,

I have a list that has a requester that is of type People and Groups and I
trying to use the name on an email workflow. So I want to use Dear FirstName
LastName of the requester; when I try that I get domainname\username!. On
the Column defined as people and groups I am using the name not the username!

Any suggestion?

Regards,

Z

RE: SharePoint Designer - List People and Groups by stcheng

stcheng
Mon Aug 06 03:19:03 CDT 2007

------=_NextPart_0001_7B92858F
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi taraga,

From your description, you're dealing with WSS workflow with sending email
and currently have some problem get the login user's Full Name(firstname &
lastname) in the email message properties, you can only get the
domain\account format username, correct?

As for the login user's username info, based on my research, if you're
using programmatic approach, you can get user's username or other personal
info through SPUser class:

#SPUser Class
http://msdn2.microsoft.com/en-us/library/ms978595.aspx

also, here are some other web articles I've found discussing about
retrieved user's display name(or full name) in WSS or SPS:


#Using SPUserUtil to synchronize SharePoint user Display Names and Email
addresses with the information in Active Directory
http://blogs.msdn.com/krichie/archive/2006/02/18/534767.aspx

#How do I get the logged on user's display name into a basic page?
http://wss.collutions.com/Lists/FAQ/DispForm.aspx?ID=221

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.








------=_NextPart_0001_7B92858F
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi taraga,
\par
\par From your description, you're dealing with WSS workflow with sending email and currently have some problem get the login user's Full Name(firstname & lastname) in the email message properties, you can only get the domain\\account format username, correct?
\par
\par As for the login user's username info, based on my research, if you're using programmatic approach, you can get user's username or other personal info through SPUser class:
\par
\par #SPUser Class
\par http://msdn2.microsoft.com/en-us/library/ms978595.aspx
\par
\par also, here are some other web articles I've found discussing about retrieved user's display name(or full name) in WSS or SPS:
\par
\par
\par #Using SPUserUtil to synchronize SharePoint user Display Names and Email addresses with the information in Active Directory
\par http://blogs.msdn.com/krichie/archive/2006/02/18/534767.aspx
\par
\par #How do I get the logged on user's display name into a basic page?
\par http://wss.collutions.com/Lists/FAQ/DispForm.aspx?ID=221
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par
\par ==================================================
\par
\par Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifications.
\par
\par
\par
\par Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx.
\par
\par ==================================================
\par \tab
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par
\par
\par
\par
\par
\par
\par
\par }
------=_NextPart_0001_7B92858F--


RE: SharePoint Designer - List People and Groups by stcheng

stcheng
Wed Aug 08 20:26:47 CDT 2007

------=_NextPart_0001_5CF8F74D
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Taraga,

How are you doing? Have you got any progress on this or does the info in
previous message helps you a little? BTW, I've also updated you in another
"WSS workflow design" thread. If there is anything else we can help, please
feel free to post in the newsgroup.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_5CF8F74D
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Taraga,
\par
\par How are you doing? Have you got any progress on this or does the info in previous message helps you a little? BTW, I've also updated you in another "WSS workflow design" thread. If there is anything else we can help, please feel free to post in the newsgroup.
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par }
------=_NextPart_0001_5CF8F74D--


RE: SharePoint Designer - List People and Groups by taraga

taraga
Wed Sep 05 06:50:01 PDT 2007

Thanks Steven,

I moved on to create WF Actions in VS 2005. ECM Starter Kit has an example
to find out the user manager from the action directory. So I used it as a
based to create my action to get user details from the active directory.

Retrieving data from the active directory is an expensive action and I found
an open source Action that can do the same from the user profile of
SharePoint, which is a better solution;
http://www.codeplex.com/SPDActivities/SourceControl/ListDownloadableCommits.aspx (LookupUserInfo). and other useful actions.

Thanks again,




Regards,



"Steven Cheng[MSFT]" wrote:

> Hi Taraga,
>
> How are you doing? Have you got any progress on this or does the info in
> previous message helps you a little? BTW, I've also updated you in another
> "WSS workflow design" thread. If there is anything else we can help, please
> feel free to post in the newsgroup.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights

RE: SharePoint Designer - List People and Groups by stcheng

stcheng
Wed Sep 05 19:42:30 PDT 2007

------=_NextPart_0001_61387C64
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Taraga,

Thanks for your followup.

Glad that you've got progress and also thanks for sharing this with us.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Subject: RE: SharePoint Designer - List People and Groups
Date: Wed, 5 Sep 2007 06:50:01 -0700

Thanks Steven,

I moved on to create WF Actions in VS 2005. ECM Starter Kit has an example
to find out the user manager from the action directory. So I used it as a
based to create my action to get user details from the active directory.

Retrieving data from the active directory is an expensive action and I
found
an open source Action that can do the same from the user profile of
SharePoint, which is a better solution;
http://www.codeplex.com/SPDActivities/SourceControl/ListDownloadableCommits.
aspx (LookupUserInfo). and other useful actions.

Thanks again,




Regards,



"Steven Cheng[MSFT]" wrote:

> Hi Taraga,
>
> How are you doing? Have you got any progress on this or does the info in
> previous message helps you a little? BTW, I've also updated you in
another
> "WSS workflow design" thread. If there is anything else we can help,
please
> feel free to post in the newsgroup.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> This posting is provided "AS IS" with no warranties, and confers no rights

------=_NextPart_0001_61387C64
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Taraga,
\par
\par Thanks for your followup.
\par
\par Glad that you've got progress and also thanks for sharing this with us.
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par \tab
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par \pard\li720 --------------------
\par Subject: RE: SharePoint Designer - List People and Groups
\par Date: Wed, 5 Sep 2007 06:50:01 -0700
\par
\par Thanks Steven,
\par
\par I moved on to create WF Actions in VS 2005. ECM Starter Kit has an example
\par to find out the user manager from the action directory. So I used it as a
\par based to create my action to get user details from the active directory.
\par
\par Retrieving data from the active directory is an expensive action and I found
\par an open source Action that can do the same from the user profile of
\par SharePoint, which is a better solution;
\par http://www.codeplex.com/SPDActivities/SourceControl/ListDownloadableCommits.aspx (LookupUserInfo). and other useful actions.
\par
\par Thanks again,
\par
\par
\par
\par
\par Regards,
\par
\par
\par
\par "Steven Cheng[MSFT]" wrote:
\par
\par > Hi Taraga,
\par >
\par > How are you doing? Have you got any progress on this or does the info in
\par > previous message helps you a little? BTW, I've also updated you in another
\par > "WSS workflow design" thread. If there is anything else we can help, please
\par > feel free to post in the newsgroup.
\par >
\par > Sincerely,
\par >
\par > Steven Cheng
\par >
\par > Microsoft MSDN Online Support Lead
\par >
\par >
\par > This posting is provided "AS IS" with no warranties, and confers no rights
\par \pard
\par
\par }
------=_NextPart_0001_61387C64--