Article View: borland.public.cppbuilder.nativeapi
Article #10248Re: users on Win NT
From: Daniele Borini
Date: Sat, 08 May 2004 10:01
Date: Sat, 08 May 2004 10:01
19 lines
1764 bytes
1764 bytes
Yes!! that function is perfect for my purposes!! 10x a lot Jerry!!!! ;-) Jerry Bloomfield (TeamB) ha scritto: > On Fri, 07 May 2004 10:45:11 +0200, Daniele Borini <borini@infinito.it> > wrote: > > >>how can i detect the user type and/or priviligies in win NT? I mean, i'd >>like to know if a user is or has administrator priviligies, i tried to >>check if username is "administrator" but it's not enough.. >>Someone can help me?? > > > Does the function NetUserGetInfo() help you with your task? Since I don't > know what information you desire, I am not sure if that function can > provide the information or not. If it does not, it might help lead you to > a function that can do what you want. > > Jerry Bloomfield (TeamB)
Technical Details
Message-ID:
<409cb014@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<409b4c9e@newsgroups.borland.com> <08ao90liuvv2tuk6ju9fofg0dmuuak2k73@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,45cc2a6f6ff5d963 X-Google-Attributes: gid10cc67,public Date: Sat, 08 May 2004 12:01:49 +0200 From: Daniele Borini <borini@infinito.it> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.6) Gecko/20040113 X-Accept-Language: it, en, en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: users on Win NT References: <409b4c9e@newsgroups.borland.com> <08ao90liuvv2tuk6ju9fofg0dmuuak2k73@4ax.com> In-Reply-To: <08ao90liuvv2tuk6ju9fofg0dmuuak2k73@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.94.233.118 Message-ID: <409cb014@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084010516 62.94.233.118 (8 May 2004 03:01:56 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail