473,897 Members | 2,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User.Identity.N ame or Profile.UserNam e?

User.Identity.N ame or Profile.UserNam e? whats the difference and which
am I suppose to use?

best regards
Jun 27 '08 #1
2 2999
An application doesn't have to use profiles, so Profile property may not be

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
"Seb" <se************ ******@gmail.co mwrote in message
news:2f******** *************** ***********@25g 2000hsx.googleg roups.com...
User.Identity.N ame or Profile.UserNam e? whats the difference and which
am I suppose to use?

best regards

Jun 27 '08 #2
On 14 Maj, 10:46, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
An application doesn't have to use profiles, so Profile property may not be
ok, thanks
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Dave | last post by:
Hi, I have a dev machine, part of a domain, with a site set to Integrated security only. I want to determine the username of person accessing the page. When I run the page with the following code: Response.Write(Request.ServerVariables); Response.Write("<BR>"); Response.Write(HttpContext.Current.User.Identity.Name);
by: kiran_s_rao | last post by:
I have a serious issue that seems to be intermittent with User.Identity.Name. In an environment where about 100+ users are logging on to a site with forms authentication, calling HttpContext.Current.User.Identity.Name returns the correctly logged on user. However, 10% of the time (I'm guessing under stress conditions or simulataneous requests), the wrong user info is being returned.
by: martin | last post by:
Hi, I have a website that runs under Annotmous access. I am trying to find out the account that the page is running under the line Response.Write("<hr>" & Page.User.Identity.Name & "<hr>") does not write out the name of the account that the website is running under when it is running under annoymous access, however when the same page is run
by: luna | last post by:
Where does this function get the name from ? reason i ask is, a user wanted their name changing on the domain, i fixe everything else (email,login etc etc) but this function still displays the old name cheers mark
by: D-Someone | last post by:
We have an active directory user that just had her username renamed. When the user is running an application that calls our CurrentUser web service method (which returns the value of HttpContext.Current.User.Identity.Name), her old username is returned. DOMAIN\oldusername instead of DOMAIN\newusername. The user is logged in with this new username and when we make a windows client .NET call to...
by: John | last post by:
Help! I've just spend the last three days researching and testing the following issue without any results. I have a test page setup to get the Windows logon name of the user. The site is a private intranet with the following configuration: Two Windows 2003 servers, load balanced. IIS 6.0 is running on both
by: =?Utf-8?B?Q2hhcmxlc0E=?= | last post by:
hi folks, I've got XP pro service pack 2 VS 2005 TSE with ASP.net 2.0 and C# I'm doing an example from Stephen Walther's so far excellent book and he has a whole load of stuff to add the current user to a role like so: <script runat="server"> void Page_Load()
by: =?Utf-8?B?amM=?= | last post by:
I use Form Authentication in VS2003 app. I ha ev a table for UserName, LoginName and Password. Throughout appliation I can use User.indetity.name to retrive data. But I running into the situation I have two user using the exactly same FirstName and LastName. How do I do something like User.Identity.Password or User.Identity.LoginName? JimmyChang
by: =?Utf-8?B?QW50b25pbyBPJydOZWFs?= | last post by:
We changed a username in AD. The user now logs on to a computer on our network using the new username without any problems. They can not logon using the old username. However, when they access a IIS 6.0 web site where a programmer compares system.web.httpcontext.current.user.identity.name to a lookup table containing usernames they could not gain access with the new userid. We created a web page to show what...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.