Solved

Get current username on a Novell Netware network - forms app

Posted on 2009-05-03
1
373 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

785 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