Click or drag to resize
ValidatorIsUserName Method
Determines whether source control's value is user name.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public Validator IsUserName(
	Object source,
	string errorMessage
)

Parameters

source
Type: SystemObject
Control to validate
errorMessage
Type: SystemString
It is returned when control's value is not user name

Return Value

Type: Validator
See Also