Shared Library Procedures
lib/uname_test.pl
Procedure Model Type: ( )Web Page ( )CGI Script (X)Shared Library ( )System API Name: lib/uname_test.pl Assigned to: Reference: |
|
Description |
This script verifies that a username passed as a string to the function would be a good username. The test of goodness requires that the proposed username is unique to the system (i.e. no existing user has this name), and that the username is comprised of only alphabetic characters, numbers, underscores and dots (period), and that the username is between 4 and 16 characters long. For the purpose of the test, uppercase and lowercase characters are equivalent so that if the user has chosen a username of upper-case characters, these characters will be replaced with their lower-case equivalents. |
Implementation Skills |
PERL |
Parameter List |
String containing the proposed username |
Called By: |
user/validate.cgi |
Can Call: |
|
Function Description |
Verify the appropriateness and uniqueness of the proposed username by performing the following steps:
|
Possible Exit Conditions and Return Values |
|
Sign Off by: |
Project Manager. |