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..
Printable View
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..
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
actually I take that back, it does make use of the My namespace, which didn't exist until .net 2.0
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!