Stack Initialization
lgo_ValidateUserId()
Validate a user identifier.
#include "laygo.h"
LResult lgo_ValidateUserId
(
LUserId userId
);
| userId | user id to validate |
lgo_ValidateUserId() checks a user id against an internally stored value. User ids are 32-bit values supplied by Advanced Relay Corporation. If you have any questions about user ids, contact technical support at Advanced Relay Corporation.
lgo_ValidateUserId() can only be called after the stack has been initialized.
If successful, lgo_ValidateUserId() returns a non-negative value. Otherwise, it returns a negative value indicating the reason it failed. Possible unsuccessful return values are:
None
LResult result;
result = lgo_ValidateUserId(userId);
if (result < 0)
{
return (FAILURE);
}