Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
c# get username
Ramachandra Dhonukshe
Programming language:
C#
2021-04-29 06:31:44
2
Q:
c# get username
amblina
Code:
C#
2021-03-27 05:08:12
string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
1
EKons
Code:
C#
2021-02-01 18:17:28
Environment.UserName
0
Tags
user
use
get
Related
C# get object property name
get user directory of file in c#
c# allowedusernamecharacters
c# how to get a file path from user
c# get user directory
c# get path without filename
get type of variable c#
c# user input
c# get logged on user name
get application path c#
c# get file author
c# get class name as string
get filename from path c#
get current directory c# \
c# user name session
New to Communities?
Join the community