Returns username of logged in user. Should be called instead of
Identity.Name to centralize logic.
Namespace: Caisis.SecurityAssembly: Caisis.Security (in Caisis.Security.dll) Version: 3.5.4947.22627
Syntax
C# |
---|
public string GetUserName() |
Visual Basic |
---|
Public Function GetUserName As String |
Visual C++ |
---|
public: String^ GetUserName() |
Return Value
Type: Stringusername