Getting Users Windows Logon Details

I am looking into creating a intranet at work which will do a number of things including forums etc but one thing that i would like to do i dont know if it is possible or not.

When a user signs into their workstation it will launch the intranet, no problem, then i want it to log them in as the user id they logged into the workstation as. Is there any way of getting this information???

View Replies


ADVERTISEMENT

Windows Logon Name

I am setting up an intranet application and would like to get access to the users windows network log on user name. I have turned on "windows authentication" for the
application. I was hoping to find it with the server variables, however the LOGON, AUTH and REMOTE users were blank.

I then created a WindowsIdentity object, the name I found there was MAC-WEBASPNET which is a generic user account name. What am I missing here?

View Replies View Related

Retreiving Users Details Via LDAP

I have a form which only authenticated users can access (Basic Auth against an ADS domain). Currently, I use Request.ServerVariables("LOGON_USER") to display the login name of the user. This information is both displayed and submitted as apart of the form in a hidden field.

What I would like to do is to poupulate the form with user details from an LDAP directory (ADS at this stage, but quite possibly changing to CA eTrust) such as Name, Email Address, and contact numbers. Does anyone know of any resources which might outline how to acheive this, preferably with any code samples to acheive this?

View Replies View Related

Windows Users

We have an extranet located on one server that users access via a redirect on a URL. To access the extranet, they click on a link and have to enter their windows network logon details.

They then access the extranet which is based on Microsoft Sharepoint Services. I have written customised ASP pages, located on a second server on the same network, but want to use the same windows logon details.

View Replies View Related

Creating Windows Users

We are trying to create a basic "signup for demo download" where user enters info, gets an email with user/pass to go and ftp download the demo.

FTP currently is using NT security. Is it possible to create an NT user from ASP? Or is there any other tactic that is more standard?

View Replies View Related

ADSI And Local Windows Users And Groups!

I am looking at the ability for a user on my website to add/remove/edit windows user accounts, thus controlling access to my website. I have integrated windows authentication checked on the website and unchecked anon access in IIS, so I am always asked for a username and password.

I have seen some ADSI scripts that I can use in my ASP pages to manipulate local user accounts. However, when I try and use these they dont work as I need to have admin rights. Of course I don't wish to add the user to the admin group for security reasons....
Anyone have a code snippet to do this?

View Replies View Related

Logging Users :: Transactions My Users Perform

I want to be able to log in a database any transactions my users perform. For example logging in, requesting a page, downloading a resource, logging out etc.

What is the most practical way to code this? I was thinking of trying to use an include file which would have a function to add a log in the database for each page on the site or when a particular action is performed.

View Replies View Related

Logon

I require a utility in ASP which has to logon to another site, with my username and password and grab the content of thet page
any restriction will be there in the server preventing these type of access. how to authenticate ? will it work in the secure sites?

View Replies View Related

How Can I Get The Logon Name?

I'm using Basic Authentication for my web site - not great I know but I'm
having to support devices like the Nokia 9210i which dosn't seem to like the
digest information for windows domain servers.

The question is that I would like to be able to somehow capture that logon
username/id so that I can use it within the web site to track changes made
by the user.

I've thought about switching off authentication all together
and writing my own logon asp page (query to an SQL database or something and
then store the result in a session variable), but if I can somehow capture
and access the basic authentication information, it would save me some work.

View Replies View Related

ASP Logon Script

I have a working basic login script that processes an Access database to see if the username and password is correct then logs in if so and passes through to a members area.
However, what stops anyone from just downloading the database and opening it (altho the database can be passworded admittedly).Is there a way to make the database more secure, or to allow login from a more secure system?

View Replies View Related

Logon To IIS Site Via ASP

I'm using an online app made with asp which authenticates login with a MS Access Database and then redirects the user to a URL corresponding to the entry for the logon credentials in the database.

The url has anonymous browsing disabled, thus I need to pass a username and password to the iis server when the user is redirected to this site.

This process must be automatic and not visible to the client logging on.

Can this login info be passed to the iis server via ASP code, and if so can you help me with necessary code snippets ?

View Replies View Related

LOGON Question

We are currently moving our site, while doing this we are now going to make people logon to our site (if your name is not in our IIS you can not get in), while doing that we are having another company keep our files on thier site (they maintain our files .)

The company is letting us copy thier logon code and paste it into one of our frames for our site so that it just looks part of our site. Is there a way that when they log on to our site that thier user names and passwords (same as our sites) for the other company will automaticlly go into the user name and password. Code:

View Replies View Related

How To Get NT Logon User Id

I am trying the following code to retrieve the user id of the NT logon user. Code:

View Replies View Related

MAPI.Profile Logon With ASP

I have an ASP application that logs into Exchange server to send email. The
code looks like this:

Set objSession = CreateObject("MAPI.Session")
objSession.Logon "profileName"

strMsg = ".."
Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = "Customer Comment"
objMessage.Text = strMsg

Set objRecip = objMessage.Recipients.Add
objRecip.Name = SendTo
objRecip.Type = 1 'CdoTo
objRecip.Resolve

objMessage.Send 'showDialog:=False
objSession.Logoff

This code worked fine when the server was WinNT / Exchange 2000, now the
server has been upgraded to Windows 2003 and Exchange 2003.

Exchange Server is running on the same machine as IIS. And the error
appears to happen when the Logon is attempted.

Any ideas as to what may have changed in Windows 2003 or Exchange 2003?

View Replies View Related

Logon To IIS Using Apple OSX And Safari

How do I login to a website on a IIS-server, with a Active Directory account, from a Apple OSX Safari browser?

View Replies View Related

Logon With Local Accounts

i am developing an intranet area where my boss says he wants the logon to be related to the local accounts,if no local account exist then they will be refused access, i am a little lost with this.

View Replies View Related

I Need Code For Last Logon Date

i need code for the last logon date of the user which will display on his page when he log's in to his account page.

View Replies View Related

Logon Field Embedded In Web Page

I have a logon field including user name and password, which is stored to an access DB. Many websites have a logon and password field integrated into the page. I want the field to always be there.

When successfully logged on, the user will have access to other pages that I designate.

I have a complete web page and I want to stick the code from the working logon field, etc in the page w/o redesigning it around the existing logon.asp page.

I am asking if this is something I can do with the skills that I currently possess? Remember, I'm a novice .asp programmer, but an experienced web designed. We're working on the "dynamic" in web page design.

View Replies View Related

Using CDONTS To Logon The IIS SMTP Server

Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.

View Replies View Related

Crystal Report Logon Call

i having a problem on open crystal report version 8.5 or 9, when my ASP program call the report using VBSCRIPT coding?, can i have source code to call the crystal report logon ?

----error : server has not yet been opened.

any solution for above error ?

View Replies View Related

Inserting Data When User Logon

I am inserting data into Access when user logs on:
..............
SQL = "INSERT INTO tblLog (fldUserName,fldTimeIn,fldSID) VALUES ('" & u & "',#" & session("Date") & "#,'" & session.SessionID & "')"
con.Execute(SQL)
.....................
in here it inserts the date :01/09/2003

But when logging out :
.............
SQL="UPDATE tblLog SET fldOffline=1,fldProper=1 WHERE fldUserName= '" & session("admin") & "' AND fldTimeIn=#" & session("date") & "# AND fldOffline=0"
con.execute(SQL)
...............
it doesn't update the record.If I eliminate the date query here,it updates there is no syntax error is there?

View Replies View Related

Logon Field Integrated In Larger Webpage

I have a logon field including user name and password, which is stored to an access DB. Many websites have a logon and password field integrated into the page.

I have a complete web page and I want to stick the code from the working logon field, etc in the page w/o redesigning it around the existing logon.asp page.

I am asking if this is something I can do with the skills that I currently possess? Remember, I'm a novice .asp programmer, but an experienced web designed. We're working on the "dynamic" in web page design.

View Replies View Related

Active Directory :: Get The Current Logon (to AD) User Name

I need to get the current logon (to AD) user name on ASP level. Is there any ActiveX (ocx,dll) object in windows directory, which I can use? I used the nwdir.dll file to get this name from novell directory with ndap....

View Replies View Related

PC Details

Is it possible to find, and display a pc name in an asp web page using vb.

View Replies View Related

Get User Details

I'm trying to get a very simple task to work. Using the users login name
(gained from IE) I want to get their full name from AD (Win 2k and 2003 AD
domain).I'm using this ASP code on the IIS server:

usr=mid(request.ServerVariables("LOGON_USER"),8)
Set User = GetObject("WinNT://domainname/" & usr & ",user")
response.write "Name is " & User.Fullname
set usr=nothing

This code works fine when run on the server direct using wscript, but when
served by the web server I get the error:

Active Directory (0x80070005)
General access denied error

View Replies View Related

User Details

I have a working members code now where members can sign up, login to a protected page and log out. I now want to personalise each members login so when a member logs in it says welcome [username] etc and then when the use logs out it says 'thanks [username] you have logged out'. I tried to query my database but it doesnt work.

View Replies View Related

Server Details

Is there a script ( without DB) I can use which can give the entire details of the server, including the root dir, folders info.

View Replies View Related

Repeat Details

how I can repeat details in a ASP page. For example I have to fill in a a form which has the following quetion.Language : (a text box here to fill in the details)

and then a message with 2 buttons Do you want to insert another? YES NOWhen click on the button YES, I want my asp page to take the quetion "Language :" and the text box and copy it so the user can insert another value.How can I do it ??

View Replies View Related

Visitor Details

Is there a way of detecting and then recording a visitors details(eg. browser, ip, country, OS...) and then storing that info to a database automatically?If, so, could you plz tell me how to record the info straight to a database without the user having to click on anything.

View Replies View Related

Browser Details

I have seen an example of a page that displays the users browser details in a friendly manner like this:

Your operating system : Microsoft Windows NT
Your browser : Microsoft Internet Explorer 6.0


from a HTTP_User_Agent string like this: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Can somebody give me some sample code of how I can extract this result out of the string, using asp.

View Replies View Related

Show Details Of First Record

I have a list of requests that I'm displaying. The client wants to be able
to display the details of the FIRST request as the page loads.

Right now, as I loop through the recordset, I'm checking the querystring for
"rid", and if rid = "" then I do a response.redirect to the page adding the
rid value to the querystring from the recordset.

I'm thinking this is not very effecient, but I can't figure out anything
better.. anyone have a good solution to show the details of the first item
on the list?

View Replies View Related

Upload Page With Details

I am looking to create an upload page for my website. I would like to have the user login and depending on who they log in as depends on which folder they upload to. I'd like to be able to upload multiple files, have the file size(s) show up on the form and also be able to calculate how much time it will take to upload the file.

View Replies View Related

Folder/file Details

Is it possible to run an asp script to display the details (i.e. last
modifed time/date) of several files held on the client and or on the server
running IIS (if i map it to the folder with the files in question).

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved