473,394 Members | 1,645 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,394 software developers and data experts.

How to get all NT users identity

Hi.
I need to implement a web based file permission dialog.
For this i need to get the identities of all NT users.
I can get the current identity, but have no idea of how to get all
identities.
Thanks.
Nov 16 '05 #1
5 1843
Hi Sharon,

You could use DirectorySearcher with the "WinNT:" protocol to fetch all
usernames for the specific machine.
look it up under the DirectoryServices namespace and talk to me for further
help.

Picho.
"Sharon" <sh****@void.null> wrote in message
news:ev*************@TK2MSFTNGP15.phx.gbl...
Hi.
I need to implement a web based file permission dialog.
For this i need to get the identities of all NT users.
I can get the current identity, but have no idea of how to get all
identities.
Thanks.

Nov 16 '05 #2
Hi Picho.
I never worked with DirectoryServices.
Is it a part of win XP? or do i need to install it?
Thanks.

"Picho" <SP********@telhai.ac.il> wrote in message
news:eK**************@TK2MSFTNGP10.phx.gbl...
Hi Sharon,

You could use DirectorySearcher with the "WinNT:" protocol to fetch all
usernames for the specific machine.
look it up under the DirectoryServices namespace and talk to me for further help.

Picho.
"Sharon" <sh****@void.null> wrote in message
news:ev*************@TK2MSFTNGP15.phx.gbl...
Hi.
I need to implement a web based file permission dialog.
For this i need to get the identities of all NT users.
I can get the current identity, but have no idea of how to get all
identities.
Thanks.


Nov 16 '05 #3
Is there a way to query the domain controller?

"Picho" <SP********@telhai.ac.il> wrote in message
news:eK**************@TK2MSFTNGP10.phx.gbl...
Hi Sharon,

You could use DirectorySearcher with the "WinNT:" protocol to fetch all
usernames for the specific machine.
look it up under the DirectoryServices namespace and talk to me for further help.

Picho.
"Sharon" <sh****@void.null> wrote in message
news:ev*************@TK2MSFTNGP15.phx.gbl...
Hi.
I need to implement a web based file permission dialog.
For this i need to get the identities of all NT users.
I can get the current identity, but have no idea of how to get all
identities.
Thanks.


Nov 16 '05 #4
Sharon please be specific.

there is a big difference in querying a local machine (WinNT:// protocol) or
a domain controller/active directory (LDAP:// protocol).
please tell me what is your main goal and the context of the problem.

Picho.
"Sharon" <ta*******@void.null> wrote in message
news:O%****************@TK2MSFTNGP12.phx.gbl...
Is there a way to query the domain controller?

"Picho" <SP********@telhai.ac.il> wrote in message
news:eK**************@TK2MSFTNGP10.phx.gbl...
Hi Sharon,

You could use DirectorySearcher with the "WinNT:" protocol to fetch all
usernames for the specific machine.
look it up under the DirectoryServices namespace and talk to me for

further
help.

Picho.
"Sharon" <sh****@void.null> wrote in message
news:ev*************@TK2MSFTNGP15.phx.gbl...
> Hi.
> I need to implement a web based file permission dialog.
> For this i need to get the identities of all NT users.
> I can get the current identity, but have no idea of how to get all
> identities.
> Thanks.
>
>



Nov 16 '05 #5
Hi Picho.
I it's more clear to me now.
What i need to do is query active directory, something like:
DirectoryEntry de= new DirectoryEntry(LDAP://serverAddress)
Thanks lots for your help.
Sharon.

"Picho" <SP********@telhai.ac.il> wrote in message
news:OW**************@TK2MSFTNGP15.phx.gbl...
Sharon please be specific.

there is a big difference in querying a local machine (WinNT:// protocol) or a domain controller/active directory (LDAP:// protocol).
please tell me what is your main goal and the context of the problem.

Picho.
"Sharon" <ta*******@void.null> wrote in message
news:O%****************@TK2MSFTNGP12.phx.gbl...
Is there a way to query the domain controller?

"Picho" <SP********@telhai.ac.il> wrote in message
news:eK**************@TK2MSFTNGP10.phx.gbl...
Hi Sharon,

You could use DirectorySearcher with the "WinNT:" protocol to fetch all
usernames for the specific machine.
look it up under the DirectoryServices namespace and talk to me for

further
help.

Picho.
"Sharon" <sh****@void.null> wrote in message
news:ev*************@TK2MSFTNGP15.phx.gbl...
> Hi.
> I need to implement a web based file permission dialog.
> For this i need to get the identities of all NT users.
> I can get the current identity, but have no idea of how to get all
> identities.
> Thanks.
>
>



Nov 16 '05 #6

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

Similar topics

4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
1
by: Sivaraman.S | last post by:
I am unable to create new users using directory services in Windows 2003 server. But it is possible to create users with ASP.NET applications in windows 2000. I am getting "Permission Denied"...
3
by: Dan | last post by:
hi ng, i'd like to add control elements on a page, but only for users that are authotized to access a certain location, defined in web.config. my question: is it possible to read the <allow...
6
by: Matt Adamson | last post by:
Guys, I'm unsure how to use windows authentication in an intranet application. I'd like to user existing windows account to identify users however the issue I have is how to then add settings to...
1
by: bitshift | last post by:
Ive been asked to allow internal (domain authenticated) users to get in to my asp.net web application, while everyone else should use the login form. One way ive seen others doing this, is to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
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...

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.