Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "IsUserAnAdmin" in [All]

shell32

.
Summary
IsUserAnAdmin - Tests whether the current user is a member of the Administrator's group.
.

/// It is recommended to call that function directly to determine Administrator group status rather than calling IsUserAnAdmin.

.

static extern bool IsUserAnAdmin(void);

.

''' It is recommended to call that function directly to determine Administrator group status rather than calling IsUserAnAdmin.

.

Public Function IsUserAnAdmin() As <MarshalAs(UnmanagedType.Bool)> Boolean

.

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

.
Documentation
[IsUserAnAdmin] on MSDN

 
Access PInvoke.net directly from VS: