how to get User ntlogin

From: adam (adam_at_twv.org)
Date: 06/25/03


Date: Wed, 25 Jun 2003 04:48:37 -0700


Hi

I am having difficulty getting a users nt login code
within a page

[C#]
string nm = Page.User.Identity.name;

works on some machines, but not others. IIS is set to
windows security, and anonymous access is denied. Do the
client and server machines have to part of a domain for
this to work, or should this property still be available
if they are just in workgroups?

Adam



Relevant Pages

  • Re: Strange Divide? Error
    ... registry entries show an empty string. ... NumberFormatInfo parameters and found that for the problem machines the ... NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: DESPERATE: FormsAuthentication Problem
    ... to hardcode a 3 element string array just for fun and see if that changes ... > I have verified that both machines are running the same version of the ... > Framework and that the web.config files are identical (except for SQL ... >> Hi Jeff, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Admired designs / designs to study
    ... the string library associated with SX1100/Amicus, ... characters of a name, so that hte string wasn't always null-terminated; ... hence the *n* routines. ... Series machines as a 36 bit *byte* pointer. ...
    (comp.arch)
  • Re: Puzzling program
    ... of machines where an int can't start at arbitrary addresses but ... an int can start ... It's certainly true that there's no guarantee that the string has any ... but I think most implementations do tend to ...
    (comp.lang.c)
  • Re: Puzzling program
    ... of machines where an int can't start at arbitrary addresses but ... It's certainly true that there's no guarantee that the string has any ... but I think most implementations do tend to ... store strings at a stricter alignment ...
    (comp.lang.c)