473,661 Members | 2,506 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Authenticating users against Windows NT User GROUPS

Hello all,
In my web app I want to authenticate users using the Windows NT user
Groups they blong to.
The app will be used internally.
Users will all belong to the same domain
Users are separated by groups
In more details I want to know if the user is administrator, users,
customer service (a windows group i create) and so on.
I tried using Request.LogonUs erIdentity.Grou ps but did not result in
what I want.
So far I can do it at the individual level using
Request.LogonUs erIdentity.Name .ToString();
but this only works if i have a limited number of users, not a huge
number.

Please advise

thanks in advance

Jan 26 '06 #1
2 2149
If you are using 2.0 then take a look at the ADMembershipPro vider.

David Barkol
www.neudesic.com

Jan 27 '06 #2
Have you considered
Page.User.IsInR ole("domain|com puter\group")

"Jr. BTS dev!" wrote:
Hello all,
In my web app I want to authenticate users using the Windows NT user
Groups they blong to.
The app will be used internally.
Users will all belong to the same domain
Users are separated by groups
In more details I want to know if the user is administrator, users,
customer service (a windows group i create) and so on.
I tried using Request.LogonUs erIdentity.Grou ps but did not result in
what I want.
So far I can do it at the individual level using
Request.LogonUs erIdentity.Name .ToString();
but this only works if i have a limited number of users, not a huge
number.

Please advise

thanks in advance

Jan 27 '06 #3

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

Similar topics

6
2848
by: Smitro | last post by:
Hi, I'm looking for a Tutorial about Authenticating using PHP and Linux User Accounts. Can some one point me in the right direction? Smitro
9
2273
by: Sophia | last post by:
I need to authenticate users to enter in a NTLM-protected virtual directory, but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a "usability" firm!). After searching and searching, I finally found up with this solution to use ADSI to authenticate users transparently: http://www.eggheadcafe.com/articles/20010126.asp I tried the script and I am able to authenticate that the user...
3
814
by: Zeno Lee | last post by:
I'm trying to authenticate a user against a windows network. I want it to work across any kind of windows network from NT 4.0 up to Windows 2003 ADS. So far I've been using DirectoryEntry and DirectorySearcher and doing a search on Active Directory. With the addition of a customer on an NT 4.0 network, I've had to add DllImport using LogonUser() from advapi32.dll in addition to the directory search. To simplify my code, Is it...
1
2766
by: Yaron | last post by:
Hi, I am writing a program that will require a user to log in using their domain account which will then take the information to a SQL Server database stored on the server and try to log in using that information. Several questions: 1) What class should I use once I have the username / password to authenticate the account on the domain?
3
16434
by: mrwoopey | last post by:
Hi, I am using the example "Authenticate against the Active Directory by Using Forms Authentication and Visual Basic .NET": http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340 But I am having a problem figuring out the LDAP:// The LDAP:// that I pass looks like this (i substitued generic the
3
1247
by: jm | last post by:
Right now, I have a MySQL database that has groups defined (not AD groups) and based upon which group a user is in they are allowed certain pages, controls, etc. I want to make my systems more Active Directory integrated. I don't mind using MySQL for some thing such as paths, etc., but I want Windows to handle the security. So,
1
1429
by: Larry Rekow | last post by:
I created a web application in classic ASP 6 months ago that had a login page which would only allow certain users to add, update or delete files from 6 different departments. (Windows 2000 server, NTFS, IIS5, not using Active Directory. After users are challenged for basic windows authentication, they get to the login page.) At the time, I set-up an Access db and a manager's page to add, delete and modify the permissions of users. When...
1
1644
by: GM | last post by:
Hello, I need ideas, concepts to realize the following things: I have a service (vb.net) running on a workstation communicating with a client application. The data flow does not need to be encrypted, but it must be validated that it comes from a specific client. I want to make sure that the client application authenticates to the service
3
2530
by: Sleepwalker | last post by:
Hi, I'm currently working on creating a stripped down part of a company web page, that will be accessed from cellphone. The problem I have is that the Windows Forms authentication makes it difficult for me to create more than one login page. In my web.config file I have it set so that unauthenticated users will be directed to the default.aspx page which handles logging in. As part of the default.aspx Page_Load I transfer users to a...
0
8432
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, 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...
0
8343
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,...
0
8856
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, 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...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7365
agi2029
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...
1
6185
isladogs
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...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.