160. NovellValidatorsLUM

Novell validation routines

160.1. Summary of Module Globals

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

    160.2. Global Functions

    160.2.1. ValidateContext

    Validate Context

    Function parameters

    • string name

    Return value

    • boolean

    160.2.2. ValidateCredentials

    Validate credentials

    Function parameters

    • string userName

    • string password

    • string ip

    • integer port

    • boolean doFeedback

    Return value

    • integer

    160.2.3. ValidateDNSorIP

    Validate DNS or IP address

    Function parameters

    • string ip

    Return value

    • boolean

    160.2.4. 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

    Function parameters

    • string name

    • boolean optional

    Return value

    • boolean

    160.2.5. ValidateIP

    Validate IP address

    Function parameters

    • string ip

    Return value

    • boolean

    160.2.6. ValidateIPMsg

    Validate IP address

    Function parameters

    • string ip

    • string msg

    Return value

    • boolean

    160.2.7. ValidatePassword

    Validate password Returns true if the password is valid, else false

    Function parameters

    • string pw1

    Return value

    • boolean

    160.2.8. ValidatePasswords

    Validate passwords Returns true if the passwords are valid and match, else false

    Function parameters

    • string pw1

    • string pw2

    Return value

    • boolean

    160.2.9. 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

    Function parameters

    • integer port

    Return value

    • boolean

    160.3. Global Variables

    160.4. Module Requirements

    160.4.1. Module Imports

    • Address
    • IP
    • NovellUtilsLUM
    • Popup
    • Report
    • String

    160.4.2. Module Includes