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

User Permissions in a Domain

How do I determine in .NET which group of users a person belongs to in a
domain ?

e.g. I want to prevent certain users from accessing certain parts of a
program based on their group policy used

Thanks
Gerry
Nov 21 '05 #1
4 941
"dotnetnewbie" <do**********@discussions.microsoft.com> schrieb
How do I determine in .NET which group of users a person belongs to
in a domain ?

e.g. I want to prevent certain users from accessing certain parts of
a program based on their group policy used

Have a look @ one of these groups for language unrelated questions:
microsoft.public.dotnet.framework.*
Armin
Nov 21 '05 #2
Hi Armin,

The question is related to VB.NET hence posted here. I am looking for code
sample(s) that show how to access/read the AD in VB.NET - specifically User
Groups

Thanks
Gerry

"Armin Zingler" wrote:
"dotnetnewbie" <do**********@discussions.microsoft.com> schrieb
How do I determine in .NET which group of users a person belongs to
in a domain ?

e.g. I want to prevent certain users from accessing certain parts of
a program based on their group policy used

Have a look @ one of these groups for language unrelated questions:
microsoft.public.dotnet.framework.*
Armin

Nov 21 '05 #3
Gerry,

Have a look at this message from Jared, however you can search for more on
LDAP on msdn and in this newsgroup or the newsgroup
microsoft.public.dotnet.general

http://groups.google.com/group/micro...d80fc65?hl=en&

I hope this helps,

Cor
Nov 21 '05 #4
"dotnetnewbie" <do**********@discussions.microsoft.com> schrieb
Hi Armin,

The question is related to VB.NET hence posted here. I am looking
for code sample(s) that show how to access/read the AD in VB.NET -
specifically User Groups


The first step is to learn how to use the Framework to do what you intend to
do. The 2nd step is to implement it in VB.Net. Reading your question, it was
not obvious that you already did step 1, thus my hint to the other group.
Armin

Nov 21 '05 #5

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

Similar topics

5
by: strict9 | last post by:
I've been searching for hours for a CMS which has a lot of options for user permissions. It has to be free and while mySQL is fine, it can't require root permission to install. Specifically, I...
1
by: Jon Ley | last post by:
I posted a message regarding a problem I'm having with SQL server 7 not taking any notice of the permissions that I'm setting up on my database tables (see thread "SQL Server 7 ignores user...
2
by: ruca | last post by:
hi, How can I setup the user permissions over some pages of my web application? I want to deny that some users access some of my web pages. How can I do this in code? At this moment I have a...
1
by: Amol Shambharker | last post by:
Hello Everyone, I have been working on setting up a windows 2003 machine with IIS 6.0.The web server has the web directory on a UNC share on a windows 2003 server.I want to migrate websites from a...
1
by: James | last post by:
What folders should the ASPNET user have permissions for, & what should they be? I keep getting 'Access Denied' or 'Server Access Denied' errors. I have given the ASPNET user Read & Execute...
1
by: x | last post by:
hi i have made a small database for pilots to log their flying time. i want to set either some user permissions or startup options so that the user might not see the database window nor he/she...
0
by: tony | last post by:
hi. the web server company block all the write permission for the IUSER . they told me to change the settings in my side, to upload and write files throught FTP user permissions. I add the <...
0
by: anil | last post by:
Hi all I am working on the database bit like of auditing. The database is simple only thing is the permissions to various users.In the database the audit report(memo field) is issued to each...
1
by: Jeff9458526 | last post by:
Hi I am a newbie to database design and I have a database that I created and I set up User permissions and passwords to allow different group different permissions with the database. It works great...
0
by: TintuMJ | last post by:
How can we generate a Script with all user permissions of all users in a particular database in SQL Server 2005. It should be in such a way that if we run this script later, all these permissions are...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.