Page 1 of 1 1
Topic Options
#53366 - 2001-01-24 09:58 AM @userid
Anonymous
Unregistered


I try to set up a script that maps a private dir for every user that works under win95, win98, winnt and win2000.
I only have problems with win98. I found that the variable @userid is not set during the login process ("? @userid"). The script works perfectly when called later (after login) from the command line.
Any suggestions?

Top
#53367 - 2001-01-24 10:41 AM Re: @userid
Anonymous
Unregistered


Glist,

I have noticed this @userid/@wuserid problem in Win9.x login too. As a workaround I read the user ID directly from the registry in Win9.x machines:

If @inwin = 2
;Win9.x

$userid = Readvalue("HKEY_LOCAL_MACHINE\Network\Logon","username")

endif

Esa

Top
#53368 - 2001-01-24 11:29 AM Re: @userid
Anonymous
Unregistered


Thanks for your reply. I have tried this before and realised that in this registry entry (during login) you find the name of the last person who worked on this computer. As our laptops are workgroup-laptops this solution doesnt work.
Top
#53369 - 2001-01-24 11:50 AM Re: @userid
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
Hi,

I don't know if this is KIXRPC-related, but maybe it is.

You should take a look at this link:
http://home.wanadoo.nl/r.s.m.s.dejong/Scripts/KIXRPCservice.zip

and verify that you have made all your settings correctly.

Hope this helps.

------------------
Greetz,

Roger the Young
------------------------
The code is out there...
------------------------

http://home.wanadoo.nl/r.s.m.s.dejong/Kixtart

------------------------

_________________________
The Code is out there

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 132 anonymous users online.
Newest Members
MaikSimon, kvn317, kixtarts2025, SERoyalty, mytar
17872 Registered Users

Generated in 0.045 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org