ValidatorIsUserName Method |
Determines whether source control's value is user name.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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:
ValidatorSee Also