pSetupIsUserAdmin function
[This function is not available in Windows Vista or Windows Server 2008.]
Indicates whether the current user is an administrator.
Syntax
BOOL pSetupIsUserAdmin(void);
Parameters
This function has no parameters.
Return value
TRUE if the current user is an administrator, otherwise FALSE.
Remarks
This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.
Requirements
Requirement | Value |
---|---|
DLL |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for