Novell validation routines
List of Global Functions
ValidateContext - Validate Context
ValidateCredentials - Validate credentials
ValidateDNSorIP - Validate DNS or IP address
ValidateFDN - Validate FDN. If the name is optional pass in 'true' as the second param, otherwise pass in 'false'. In some cases we allow an optional name, in others the name is manditory. Returns true if the fully distiguished name is valid, else false
ValidateIP - Validate IP address
ValidateIPMsg - Validate IP address
ValidatePassword - Validate password Returns true if the password is valid, else false
ValidatePasswords - Validate passwords Returns true if the passwords are valid and match, else false
ValidatePort - Validate port, is it a valid number and is it already in use. Displays an warning to the user if the port is in use. Returns true if the port is valid, else false
List of Global Variables
Validate credentials
Function parameters
string userName
string password
string ip
integer port
boolean doFeedback
Return value
integer
Validate FDN. If the name is optional pass in 'true' as the second param, otherwise pass in 'false'. In some cases we allow an optional name, in others the name is manditory. Returns true if the fully distiguished name is valid, else false
Function parameters
string name
boolean optional
Return value
boolean
Validate password Returns true if the password is valid, else false
Function parameters
string pw1
Return value
boolean
Validate passwords Returns true if the passwords are valid and match, else false
Function parameters
string pw1
string pw2
Return value
boolean