Click or drag to resize
ValidationHelperGetSafeRoleName Method
Gets safe version of rolename.

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

Parameters

roleName
Type: SystemString
Name of role
siteName
Type: SystemString
Name of site

Return Value

Type: String
Safe version of role name
See Also