Solved

win32s api's problem

Posted on 2000-04-16
2
791 Views
Last Modified: 2010-04-04
when I make program with win32api,I write:user_info.usri1_priv :=USER_PRIV_USER;
the compiler said :[Error] addntuser.pas(107): Undeclared identifier: 'USER_PRIV_USER'.
what's the matter? ( I'v see 'USER_PRIV_USER'is not found in the windows.dcu.what can I do?)
0
Comment
Question by:chenhuapeng
2 Comments
 
LVL 3

Expert Comment

by:f15iaf
Comment Utility
look the value of "USER_PRIV_USER" at lm.h
0
 
LVL 1

Accepted Solution

by:
nrico earned 100 total points
Comment Utility
For your convenience, I found this in LMACCESS.H:

#define USER_PRIV_MASK 0x3
#define USER_PRIV_GUEST 0
#define USER_PRIV_USER 1
#define USER_PRIV_ADMIN 2

That translates to

Const
  USER_PRIV_MASK=$03,
  USER_PRIV_GUEST=0,
  USER_PRIV_USER=1,
  USER_PRIV_ADMIN=2;
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now