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.
Show:
© 2014 Microsoft