Im not sure what you're asking.
If you want the Identity of the logged in User....you can get it through
this (in asp.net that is)
Check this code:
if (Context.User.Identity.IsAuthenticated)
{
string id = Context.User.Identity.Name;
}
<ru*********@asfinag.at> wrote in message
news:11**********************@b68g2000cwa.googlegr oups.com...
Hi NG,
I am writing an application in ASP.NET 2.0 where a user can login and
then receives a list of all his friends / cars / products whatever.
What is a best practice for getting an UserID, with which I can join
the FriendsTable? The LoginName - Control? Or is there any ID?
Thank you for your help,
Rudi