Returns the current registration status of the user information.
Syntax:
object.Registered()
The Registered method syntax has these parts:
| Part | Description |
| Object | An object expression that evaluates to an RedRegistration object |
Remarks
Before calling this method, the UserName, CompanyName,
Rights, and RegCode properties must be set. Alternatively, you can call the method
LoadRegistration to load these values.
If this method returns TRUE (-1) then the registration code is valid. The next step would be to test the Restriction type properties for failures. If this method returns FALSE (0) then the registration code is incorrect. To test for reasons of failures, test the property LastError.
Return Value
BOOLEAN
TRUE = -1
FALSE = 0