Export (0) Print
Expand All

WebSecurity.CurrentUserName Property

Gets the user name for the current user.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public static string CurrentUserName { get; }

Property Value

Type: System.String
The name of the current user.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
© 2014 Microsoft