Re: How to get user id guid



You might consider p/invoking the TranslateName API or something like that.

Agreed that if you want to use the authenticated user's credentials to
access AD via LDAP, you will need Kerberos delegation and that can be a
little painful at times. It is definitely possible though.

Joe K.

"Keith Harris" <KeithHarris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9BA9064F-1EA0-45CB-878F-A5B57F2A492B@xxxxxxxxxxxxxxxx
Hi

I am developing a SSO web part between a SharePoint site and my web
application. I would like to accomplish this by passing the guid of the
currently logged on user to the target web site.

It seems the only way to get this id is by performing an AD lookup for the
current logged in user. Is that correct or am I missing something?

Because of the difficulty in setting up DirectoryServices access from an
SPS
web part, I would like to discover an easier way of doing this.

Any help is greatly appreciated.
Thanks.


.