Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7959245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:32:32+00:00 2026-06-04T04:32:32+00:00

What Windows API function can I use to check to see if the current

  • 0

What Windows API function can I use to check to see if the current user running my application has administrative privileges?

Here are my OS details : WINDOWS XP, VISTA and WINDOWS 7
Language to be used : C

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:32:33+00:00Added an answer on June 4, 2026 at 4:32 am

    Even if the user has administrative privileges it does not mean your program does – it needs to be elevated. This can be done by the user explicitly asking to run it as an administrator, but usually it is requested by the program itself through a manifest that is embedded into the executable. Once the manifest asks for the privileges it is not optional – the program will not run until the user has approved it and supplied the password as necessary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given that the Windows API function GetGlyphIndices() can translate a 2 byte UNICODE char
Im trying to use a function from Windows API on delphi, functions for Windows
I want to use the function findwindowex (windows API) I wanted to know what
Windows API has a set of function for heap creation and handling: HeapCreate, HeapAlloc,
I'm working with the NetShareEnum function in the Windows API. It can return the
Is it possible to use Windows API function FindFirstFile to search for multiple file
On my Windows 7 system, the GetVersionEx Windows API function returns 6.0, indicating Windows
I want to use the windows detours library to detour a non win api
In windows API to create process we have CreateProcess function. Now let's consider we
TL;DR Summary: I need a single command-line application which I can use to get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.