General information
Category:
Third party products
>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only