OpenNETCF Smart Device Framework 2.2
Gets the user name of the person who started the current thread.
Namespace:
OpenNETCFAssembly: OpenNETCF (in OpenNETCF)
Version: 2.2.0.0
Syntax
| C# |
|---|
public static string UserName { get; } |
| Visual Basic (Declaration) |
|---|
Public Shared ReadOnly Property UserName As String |
| Visual Basic (Usage) |
|---|
Dim value As String value = Environment2.UserName |
| Visual C++ |
|---|
public: static property String^ UserName { String^ get (); } |
| J# |
|---|
/** @property */ public static String get_UserName() |
| JScript |
|---|
public static function get UserName () : String |
Remarks
Supported only on Windows Mobile platforms.