I first post this to win2000.active_directory group and I find out it may be
a wrong group.
I hope this group can help me.
Hello,
In ASP page, does any one knows how to get user network login ID from user
email address?
In my company, we use win 2000 server with active directory.
In my ASP page, when input an email address, I need search to find the user
network login ID.
How to do this?
Thanks for your help.
Lin Ma 7 27262
Is using Windows authentication on your site an option instead? If you
enable that, you will get DOMAIN\username in
REquest.ServerVariables("LOGON_USER").
Ray at work
"Lin Ma" <a@a.com> wrote in message
news:uO**************@TK2MSFTNGP11.phx.gbl... I first post this to win2000.active_directory group and I find out it may
be a wrong group.
I hope this group can help me.
Hello,
In ASP page, does any one knows how to get user network login ID from user email address?
In my company, we use win 2000 server with active directory.
In my ASP page, when input an email address, I need search to find the
user network login ID.
How to do this?
Thanks for your help.
Lin Ma
Ray,
Thanks for the response.
Unfortunately, the logon user is querying other user's network ID by their
email address. So the Request.ServerVariables("LOGON_USER") will not working
at this case.
Any other idea please?
Thanks,
Lin Ma
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl... Is using Windows authentication on your site an option instead? If you enable that, you will get DOMAIN\username in REquest.ServerVariables("LOGON_USER").
Ray at work
"Lin Ma" <a@a.com> wrote in message news:uO**************@TK2MSFTNGP11.phx.gbl... I first post this to win2000.active_directory group and I find out it
may be a wrong group.
I hope this group can help me.
Hello,
In ASP page, does any one knows how to get user network login ID from
user email address?
In my company, we use win 2000 server with active directory.
In my ASP page, when input an email address, I need search to find the user network login ID.
How to do this?
Thanks for your help.
Lin Ma
Ah, I see.
If it were on my network, the person's username would simpy be:
sEmailAddress = "ra*@ourdomain.com"
aUsername = Split(sEmailAddress & "@", "@")
sUsername = aUsername(0)
Maybe you could create a MAPI session and use the resolve method. ?
Ray at work
"Lin Ma" <a@a.com> wrote in message
news:eK*************@tk2msftngp13.phx.gbl... Ray,
Thanks for the response.
Unfortunately, the logon user is querying other user's network ID by their email address. So the Request.ServerVariables("LOGON_USER") will not
working at this case.
Any other idea please?
Thanks,
Lin Ma
Ray,
Thanks for this try. But the user ID is not formatted the same way because
we merged with other company.
we keep the same email format which is fi****************@mycompany.com
Like my user id is MAL (lastname and firstname initial), but my email is li****@mycompany.com
Others use firstname.lastname as network logon ID.
And some other format.
Any other idea? thanks a lot for the help.
Lin Ma
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:en**************@TK2MSFTNGP10.phx.gbl... Ah, I see.
If it were on my network, the person's username would simpy be:
sEmailAddress = "ra*@ourdomain.com" aUsername = Split(sEmailAddress & "@", "@") sUsername = aUsername(0)
Maybe you could create a MAPI session and use the resolve method. ?
Ray at work
"Lin Ma" <a@a.com> wrote in message news:eK*************@tk2msftngp13.phx.gbl... Ray,
Thanks for the response.
Unfortunately, the logon user is querying other user's network ID by
their email address. So the Request.ServerVariables("LOGON_USER") will not working at this case.
Any other idea please?
Thanks,
Lin Ma
Perhaps asking in m.p.active.directory.interfaces would yield better
responses. I wouldn't mention that you want to do this in ASP. Just ask
how to do it in VBS or JS or any language for that matter.
Ray at work
"Lin Ma" <a@a.com> wrote in message
news:eV**************@TK2MSFTNGP10.phx.gbl... Ray,
Thanks for this try. But the user ID is not formatted the same way because we merged with other company.
we keep the same email format which is fi****************@mycompany.com
Like my user id is MAL (lastname and firstname initial), but my email is li****@mycompany.com
Others use firstname.lastname as network logon ID.
And some other format.
Any other idea? thanks a lot for the help.
Lin Ma "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:en**************@TK2MSFTNGP10.phx.gbl... Ah, I see.
If it were on my network, the person's username would simpy be:
sEmailAddress = "ra*@ourdomain.com" aUsername = Split(sEmailAddress & "@", "@") sUsername = aUsername(0)
Maybe you could create a MAPI session and use the resolve method. ?
Ray at work
"Lin Ma" <a@a.com> wrote in message news:eK*************@tk2msftngp13.phx.gbl... Ray,
Thanks for the response.
Unfortunately, the logon user is querying other user's network ID by their email address. So the Request.ServerVariables("LOGON_USER") will not working at this case.
Any other idea please?
Thanks,
Lin Ma
Ray,
Thanks for the tries and the direction.
I will post a question in that group.
Have a blessing day.
Lin Ma
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:O$**************@TK2MSFTNGP10.phx.gbl... Perhaps asking in m.p.active.directory.interfaces would yield better responses. I wouldn't mention that you want to do this in ASP. Just ask how to do it in VBS or JS or any language for that matter.
Ray at work
"Lin Ma" <a@a.com> wrote in message news:eV**************@TK2MSFTNGP10.phx.gbl... Ray,
Thanks for this try. But the user ID is not formatted the same way
because we merged with other company.
we keep the same email format which is fi****************@mycompany.com
Like my user id is MAL (lastname and firstname initial), but my email is li****@mycompany.com
Others use firstname.lastname as network logon ID.
And some other format.
Any other idea? thanks a lot for the help.
Lin Ma "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:en**************@TK2MSFTNGP10.phx.gbl... Ah, I see.
If it were on my network, the person's username would simpy be:
sEmailAddress = "ra*@ourdomain.com" aUsername = Split(sEmailAddress & "@", "@") sUsername = aUsername(0)
Maybe you could create a MAPI session and use the resolve method. ?
Ray at work
"Lin Ma" <a@a.com> wrote in message news:eK*************@tk2msftngp13.phx.gbl... > Ray, > > Thanks for the response. > > Unfortunately, the logon user is querying other user's network ID by their > email address. So the Request.ServerVariables("LOGON_USER") will not working > at this case. > > Any other idea please? > > Thanks, > > Lin Ma
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: microsoft |
last post by:
Hi People, when I try to modify an active directory user programatically, I
receive the following exception:
The server is unwilling to process the request
Reading the microsoft web site, I...
|
by: Mario Rodriguez |
last post by:
Hi people. I have a problem adding users to Win2003 active directory
programatically. When I execute my app throws the following exception:
.................The specified directory service...
|
by: STeve |
last post by:
Hi guys,
In my active directory class I was wondering how I would be able to
catch invalid UserID's entered by the user. For example say if the
user entered in a UserID as a. (well any set of...
|
by: Andrew |
last post by:
Hey all,
Working on revamping our Intranet here and making use of the LDPA, Active
Directory, Directory Services, etc. that .Net provides. I am still fairly
new on this subject, so the problem...
|
by: Leo_Surf |
last post by:
Hello,
I need your help adding user in Active Directory from ASP.net website. Could
any one provide me the complete code for the html page. As this is my
curriculam project and I dont have any...
|
by: tangus via DotNetMonster.com |
last post by:
Hello all, I'm really struggling with getting some Active Directory code to
work in ASP.NET. Can you please provide assistance? I am executing the
following code:
Dim enTry As DirectoryEntry =...
|
by: GDURAN |
last post by:
How to get userid on Active Directory from VB?
|
by: willyd61 |
last post by:
Hello Everyone! Newbie here...
I can't configure any remote clients to connect to my DB2 server, I am
able to run and connect local from the server, but if I try to connect
with a user and...
|
by: chaitu |
last post by:
Hi,
I have an issue. When a developer tries to connect using an USERID and
a ped it gives
SQL30082N Attempt to establish connection failed with security reason
"19" ("USERID DISABLED or...
|
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$) {
}
...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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: 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...
| |