GetUserStatus()
From Rackspace Email & Apps API
This function will report whether a user is valid on the system.
Input Parameters
Four strings:
Administrative username, Administrative password, Domain name, User name
Return Values
If successful, the return value of the function will be 1: User Exists & is Active, 0: User Exists & is Inactive,-5: User does not exist/Invalid,-4: Domain does not exist/Invalid.
Consult the Result Code Table for a list of result codes and their meaning.