[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

Get current username on a Novell Netware network - forms app

How do you get the current logged in user on a pc that is in a Novell Netware network?

For Active Directory  I would just use:

= WindowsIdentity.GetCurrent().Name;

Does this work with Novell Netware?


0
craigdev
Asked:
craigdev
1 Solution
 
PaulHewsCommented:
Try retrieving the NWUSERNAME environment variable :
string UserName = System.Environment.GetEnvironmentVariable("NWUSERNAME");

Open in new window

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now