473,386 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to get all information about user from DC

I have ASP.NET page, and authentification is by windows, but from
system.identity.name I can just user's domain name and user's login name.
How to get full description from Domain Controller Like user Name and
Surname and E-mail if we using Exchange.

DC is on Win2003 and Exchange version is newest
Nov 18 '05 #1
3 1414
You would do this via Active Directory.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"vaidas gudas" <va**********@rst.lt> wrote in message
news:e6*************@tk2msftngp13.phx.gbl...
I have ASP.NET page, and authentification is by windows, but from
system.identity.name I can just user's domain name and user's login name.
How to get full description from Domain Controller Like user Name and
Surname and E-mail if we using Exchange.

DC is on Win2003 and Exchange version is newest

Nov 18 '05 #2
how to retrive information from Active Directory

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Oq**************@TK2MSFTNGP11.phx.gbl...
You would do this via Active Directory.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"vaidas gudas" <va**********@rst.lt> wrote in message
news:e6*************@tk2msftngp13.phx.gbl...
I have ASP.NET page, and authentification is by windows, but from
system.identity.name I can just user's domain name and user's login name. How to get full description from Domain Controller Like user Name and
Surname and E-mail if we using Exchange.

DC is on Win2003 and Exchange version is newest


Nov 18 '05 #3
There are some C# code sample here:

This topic contains links to all of the C# code examples contained in
the System.DirectoryServices Using guide.
http://msdn.microsoft.com/library/de...e_examples.asp

HTH,

--
Scott
http://www.OdeToCode.com

On Wed, 28 Jul 2004 08:27:43 +0300, "vaidas gudas"
<va**********@rst.lt> wrote:
I have ASP.NET page, and authentification is by windows, but from
system.identity.name I can just user's domain name and user's login name.
How to get full description from Domain Controller Like user Name and
Surname and E-mail if we using Exchange.

DC is on Win2003 and Exchange version is newest


Nov 18 '05 #4

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

Similar topics

42
by: Dan | last post by:
Hello, I have trouble with class calling. I am calling getvolume() with succes in the function CreateCircle but it do not want to call it in ShowCircle() function. I am staying in the same...
9
by: Eric Lilja | last post by:
Hello, I'm a novice C++ programmer and now I have the task of converting a number of C++ functions to C. Some of the functions I'm converting takes a parameter of type reference-to-std::string...
3
by: Christopher Young | last post by:
I have several user controls on a page and I am trying to get information out of them. The postback is being caused on the aspx page and not in the user control. I have tried using a property but...
8
by: Elliot M. Rodriguez | last post by:
I am having a heckuva time debugging this, or determining why my page is behaving this way. I have a search form, that when completed, returns a datagrid. When the user selects a row (normal...
2
by: Boban Dragojlovic | last post by:
I'm building a complex web-based reservations system. Gathering the user's data requires between 8 and 15 pages (depending on which options they are interested in). I use the "Session" object to...
6
by: Ian Williamson | last post by:
Greetings, My company has an ASP.NET based enterprise product that is undergoing some changes and I need some community input to help solve a problem. In the current implementation, any given...
1
by: Jon | last post by:
Hello all - just a spot of advice required. I'm wanting to write a number of data layers that will be used to carry out the typical CRUD operations against a database - so 1 database will be...
0
by: Lester Knutsen | last post by:
A two-day IBM Informix and DB2 User Group Technical Conference - Friday and Saturday, December 8-9, 2006 Location - Fairview Park Marriott, Falls Church, VA (near Washington D.C.)...
22
by: Sandman | last post by:
So, I have this content management system I've developed myself. The system has a solid community part where members can register and then participate in forums, write weblogs and a ton of other...
4
by: Kosmos | last post by:
Hey guys...as a relatively new programmer, I try to give back where I can. Below is the code for a useful program I believe many of you could use...just don't use the same exact code because...well I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...

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.