Solved

Get current username on a Novell Netware network - forms app

Posted on 2009-05-03
1
376 Views
Last Modified: 2012-06-21
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
Comment
Question by:craigdev
1 Comment
 
LVL 38

Accepted Solution

by:
PaulHews earned 500 total points
ID: 24294824
Try retrieving the NWUSERNAME environment variable :
string UserName = System.Environment.GetEnvironmentVariable("NWUSERNAME");

Open in new window

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I bind a WPF ComboBox to an ItemSource using XAML? 2 28
Problem to Office 1 39
orderby list (from Json) 1 28
Convert VB web project to C# 3 32
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question