Click or drag to resize
UserInfoProviderValidateCodeName Method
Validates the user name. Returns true if the user name is valid and follows rules defined by UsernameRegExp.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public override bool ValidateCodeName(
	UserInfo info
)

Parameters

info
Type: CMS.MembershipUserInfo
User info object to check

Return Value

Type: Boolean
Remarks
User names of external users are only checked for emptiness as they can have any user name since different services have different rules.
See Also