>I need to access the username or logon ID
>from vfp50? Can vfp50 perform logic
>on the username comming from Novell?
Robert,
Our Novell Administrator inserted this code into the login script.
DOS SET long_name = %login_name%
I'm not sure about the exact syntax but this is more or less it. What this does is sets each user's
login name to a environmental variable of your choice, such as "long_name" in this example.
So whoever logs into this machine, his "long_name" is set to his login name.
We then use the VFP GETENV() function to retrieve the information like this.
l_userid = GETENV("long_name")
Another solution is to purchase a third party product like GPLIB that has these functions
build in and don't require anything placed into the Novell login script.
Jerry Tovar
Previous
Next
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