User Class
From: John (j@nowhere.com)
Date: 10/27/02
- Next message: Shachar Matyas: "running winform exe from the web"
- Previous message: Mike Shaw [MS]: "Re: <authentication mode="Windows" /> Question"
- Next in thread: Cowboy \(Gregory A. Beamer\): "Re: User Class"
- Reply: Cowboy \(Gregory A. Beamer\): "Re: User Class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "John" <j@nowhere.com> Date: Sat, 26 Oct 2002 21:20:38 -0400
I'm new here so please forgive me if this is a stupid question. Also, I
searched newsgroups in Google before coming here to ask this question.
I am using C# with Windows authentication. I am able to use
User.Identity.Name in my web form code behind pages but I am not able to use
this reference in other classes that I create. I am using a structure
similar to iBuySpy where my class modules (.cs files) are in a subdirectory
named "Components". They also have a namespace that is different than the
rest of my app. For example my app may be a namespace of "mycompany.myapp"
but these components are a namespace of "mycompany.myapp.components". Don't
know if this makes any difference but thought I would mention it.
I would like to use the User.Identity.Name and other properties in my
classes but don't know how to reference them. Is it possible?
- Next message: Shachar Matyas: "running winform exe from the web"
- Previous message: Mike Shaw [MS]: "Re: <authentication mode="Windows" /> Question"
- Next in thread: Cowboy \(Gregory A. Beamer\): "Re: User Class"
- Reply: Cowboy \(Gregory A. Beamer\): "Re: User Class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|