🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17544

Run Service under a given user

#17544
From: Simon Macneall
Date: Fri, 14 Mar 2003 05:19
10 lines
1120 bytes
Hi,

Our service application needs to be run under a given user account (needs 
access to mapped drives). We can set this manually, but would really like 
it to be an automagic process. Does anyone know how to set the log on as 
property of a service through the API (or even a definative, "It can't be 
done" would help).

Thanks
Simon
Technical Details
Message-ID: <Xns933E87F54F0B0macnealliinetnetau@207.105.83.65>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f5533a726961dde4,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-13 21:22:42 PST
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Run Service under a given user
From: Simon Macneall <macneall-at-iinet.net.au>
Message-ID: <Xns933E87F54F0B0macnealliinetnetau@207.105.83.65>
User-Agent: Xnews/5.04.25
NNTP-Posting-Host: 203.161.112.198
Date: 13 Mar 2003 21:19:52 -0800
X-Trace: newsgroups.borland.com 1047619192 203.161.112.198 (13 Mar 2003 21:19:52 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail