ActivityManager.CurrentUserName property

Gets a string representing the current user’s name.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public string CurrentUserName { get; }

Property value

Type: System.String
Show: