Click or drag to resize
UserInfoProviderGetUserName Method (String)
Gets currently logged user name. The user name is safe if the UseSafeUserName is enabled.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static string GetUserName(
	string siteName
)

Parameters

siteName
Type: SystemString
Site name

Return Value

Type: String
See Also