Click or drag to resize
SiteContextCurrentUser Property

Note: This API is now obsolete.

Current user info object according the URL parameter of the current request. It is available when the request contains parameters "userid", "username" or "userguid" with valid value of the user.

Namespace: CMS.SiteProvider
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use property MembershipContext.CurrentUserProfile")]
public static IUserInfo CurrentUser { get; }

Property Value

Type: IUserInfo
See Also