تبلیغات
آموزس برنامه نویسی - تشخیص Admin بودن کاربر جاری در ویندوز
یکشنبه 1387/10/22

تشخیص Admin بودن کاربر جاری در ویندوز

   نوشته شده توسط: ::VB Love ::    

اگه زمانی خواستید این موضوع رو بفهمید کافیه که از تابع API ی که در shell32 تعریف شده

استفاده کنید. صورت کلی این تابع چنین است:

Private Declare Function IsUserAnAdmin Lib "shell32" () As Long

تحت ویندوز 2000 ممکنه که شما خطای با عنوان Can't find DLL entry point دریافت کنید که بهتر

است که معرفی تابع را بدین گونه انجام دهید:

Private Declare Function IsUserAnAdmin Lib "shell32" Alias "#680" () As Long


foot issues
شنبه 1396/06/25 09:10 ق.ظ
When I originally commented I seem to have clicked on the -Notify me when new comments are added- checkbox and from now
on each time a comment is added I get 4 emails with the exact same comment.
There has to be a means you are able to remove me from that service?
Many thanks!
oneidaopsahl.hatenablog.com
دوشنبه 1396/05/9 11:36 ب.ظ
I am curious to find out what blog system you happen to
be utilizing? I'm experiencing some minor security issues with my latest site and I'd like to find something more secure.
Do you have any solutions?
keelylungsford.wordpress.com
یکشنبه 1396/02/31 01:51 ق.ظ
Thank you for sharing your thoughts. I really appreciate your efforts and I will be waiting for
your further write ups thanks once again.
http://innatecan1643.hazblog.com
شنبه 1396/02/30 10:24 ب.ظ
You could definitely see your enthusiasm in the work you write.
The arena hopes for more passionate writers like you who
are not afraid to say how they believe. Always follow your heart.
Berry
پنجشنبه 1396/02/21 02:09 ق.ظ
Glad to be one of the visitors on this awesome web site :
D.
BHW
چهارشنبه 1396/02/6 06:38 ب.ظ
These are truly wonderful ideas in on the topic of blogging.
You have touched some pleasant points here. Any way keep up wrinting.
manicure
یکشنبه 1396/01/20 04:01 ب.ظ
I'm no longer positive the place you're getting your info,
but great topic. I must spend a while studying more or understanding more.
Thank you for wonderful information I used to be searching
for this information for my mission.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر