Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining user ID on Novell network
Message
From
26/02/1999 19:46:37
Susan Giddings
Aar Engine Component Services
Windsor, Connecticut, United States
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00190102
Message ID:
00192222
Views:
27
>>>>Is there a third party utility product that grabs the user id from a Novell network? OR, is there a way to do this within VFP 6.0? [We want to do this rather than asking users to enter a user name/password when they access our system.]
>>>
>>>GPLIB and NetLib both have functions for this. I think the need for third party tools may have gone away with VFP 6.0, but others will have to expand on that. :)
>>>
>>>HTH,
>>>Rich.
>>
>>There are a few ways to do it. 1 way and perhaps the easiest:
>>In the system login script issue the following command: DOS SET USER="%LOGIN_NAME". This will create an environment variable "user" = the user login name.
>>To get it in your code: m.user=Upper(GETENV("user"))
>>You can also do it by setting an environment variable in each work station but this can get nasty if you have a lot of machines! This works in VFP6.0 and earlier. Doesn't require a net library either.
>>S
>
>Hi Susan,
>
>One major warning to this approach especially when security is a big issue. An environment variable can be changed. We used to take this approach until a few users discovered this and began resetting their environment variable to gain access to a system as someone else.
>
>Cheers,

Hi Colin,
Yeah, I did know they can do that, but they still need to figure out the user password. Do-able, but a risk I was prepared to take. Now, it's not really an issue - I'm running all NT workstations with ZEN on Netware so I have a policy which restricts all non management people from accessing control panel and msdos window. Come to think of it, I actually restrict some of them, too:)!

S
Previous
Reply
Map
View

Click here to load this message in the networking platform