|
-
May 8th, 2010, 01:17 AM
#1
Thread Starter
Addicted Member
member of admin user
Hello There,i just want to ask if how will i get the user and his permission..
ex:
i want to know if the login user of the pc is a member of administrator.
that all..thank you..
-
May 8th, 2010, 08:33 AM
#2
Re: member of admin user
I don't even have VS2003 on my machine anymore to test my code with, but I don't believe there is anything in there that was specifically new to .NET 2.0.
Here is an article I wrote with sample code on how to do this.
http://zerosandtheone.com/blogs/vb/a...windows-7.aspx
-
May 8th, 2010, 08:38 AM
#3
Re: member of admin user
actually I take that back, it does make use of the My namespace, which didn't exist until .net 2.0
-
May 11th, 2010, 08:17 PM
#4
Thread Starter
Addicted Member
Re: member of admin user
thanks for the reply kleima,
i already fix this one using the windows principal namespace..but i bookmark your code for future use..thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|