TestUsername Method

Syntax

Context.Security.TestUsername as L (UserName as C)

Arguments

UserNameCharacter

A user name.

Returns

resultLogical

Returns .T. if the user name is valid based on user name validation settings; otherwise .F.

Description

Checks the validity of a user name against the validation configuration in the security settings.

Discussion

Context.Security.TestUsername() Checks the validity of a user name against the validation configuration in the security settings. Check Context.Security.CallResult.Success before using the return value.

See Also