Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Novell Network UserName in Windows2000

Status
Not open for further replies.

rbooker

IS-IT--Management
Feb 12, 2001
12
0
0
US
When I run my Paradox 8 forms on a Win2k laptop connected to a Novell 4.11 network, sysInfo() returns "Administrator" as the UserName instead of the Novell network user id.

I limit access to certain features of my forms based on the network user's id. How can I get Paradox to recognize the Novell network user id under Windows 2000?

Thanks to all who reply.

 
Try using getNetUserName() instead of sysinfo. I use that on XP/Novell with no problems. Other than that, you can get the user information from the registry directly.

Code

myname = getRegistryValue("Software\\Novell\\Location Profiles\\Services\\{1E6CEEA1-FB73-11CF-BD76-00001B27DA23}\\Default","UserName",RegKeyLocalMachine)

(this will vary depending on the Novell client used)

;or

myname = getNetUserName()


EndCode

Hope this helps.

Mac

 
Thanks Langley;

The getRegistryValue() method worked.

getNetUserName() returned Administrator.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top