UserInfoProviderGetUserName Method (String) |
Gets currently logged user name. The user name is safe if the UseSafeUserName is enabled.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public static string GetUserName(
string siteName
)
Parameters
- siteName
- Type: SystemString
Site name
Return Value
Type:
StringSee Also