Click or drag to resize
ValidationHelperGetSafeUserName Method
Gets safe version of username.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string GetSafeUserName(
	string userName,
	string siteName
)

Parameters

userName
Type: SystemString
Username
siteName
Type: SystemString
Name of site

Return Value

Type: String
See Also