|
by: jach |
last post by:
How can I get the domain, username and PC network name (Win 2000 Pro & Win
XP Pro PC's) of the current logged on user (logged onto a domain and access
an intranet page, Window 2000 server running IIS) and put this automatically
in a textbox in an webpage. Can this be done with asp & VB?
I basically want to automatically populate a username field with the users
logon so the do not need to type it themselves, leading to type errors.
...
|
by: Mike |
last post by:
Greetings,
I am writing an Intranet application in ASP.NET using VB.NET. I am
obtaining the username of the user with:
uName = User.Identity.Name, which is in the form of DOMAIN\username. I then
use substring to parse out just the username.
What I am trying to accomplish is getting the full name of the user by doing
a search in Active Directory, but I am failing at every turn. This code:
|
by: Dan Bart |
last post by:
I am using an application which is a modification of IBuySpy Portal.
It is using Forms authentication. Users login and their name is added
to
Context
Then I use:
Web.HttpContext.Current.User.Identity.Name
to write audit trail as to what users do. Now recently on one of the
activities I noticed that the
|
by: Henri |
last post by:
As my app can bet hosted on different web servers, I need it to retrieve the
web server's name dynamically.
I've tried Dns.HostName with no success.
I want to get the full name (e.g. www.mydomain123.com) and not only the
computer's name.
Maybe there's something to change in IIS, I don't know.
Can you help me?
Thanks
|
by: Patrick Olurotimi Ige |
last post by:
I get username by calling "User.identity.name" when using Window
Authentication for example DOMAIN/JBond.
But how can i get my FULLNAME?
Is there something similar to User.Identity.name apart from using
LOGON_USER to get my fullname?
In old ASP i call "fullname" using (GetObject)and i get for example
James Bond.
|
|
by: BLIZZARDICE |
last post by:
I will discribe my problem here but the second paragraph will discribe
my setup. I have been working on a project in house and we thouhgt we
were ready to move it outside for the client. However now that it is
outside I get a permission denied error on line 1 char 1. I am using a
simple javascript: parent.scriptname("argument") call. I have been
swithing all kinds of permisiions with no changes. Any ideas?
I am designing a website that...
|
by: Oren |
last post by:
Hello,
I tried to get UserName and Domain by doing:
System.Collections.Specialized.NameValueCollection var =
Request.ServerVariables;
string sLogonUserArr = var.ToString().Split('\\');
It's not working at the Global.asax file in the events:
Application_Start, Application_End, Application_Error, Session_Start,
Session_End
|
by: lmlaster |
last post by:
I have 2 webs under my default web running win2003
1. A front-page intranet
2. A asp (not .net) web is fine
Both allow anonomous access. My front page web always gets a BLANK
Request.ServerVariables("Logon_User"). The asp web gets the logon_user
OK. Both webs have a global.asa that has
Sub Session_Onstart()
session("logon") = Request.ServerVariables("Logon_User")
|
by: DGettins |
last post by:
Hi,
I'm posting this here as this concerns an ASP classic page, and I'm hoping to solve it at the application level. Scenario below.
Two servers,
1. SQL server inside our domain. Also has IIS on it, which serves my web app. We'll call this server Abel.
2. IIS server outside of our domain, with a firewall configured so that the only connections open to it (from our network) is a remote desktop link the SQL link with the server and of...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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: 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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|