Determines whether an identity is valid.
#include <client.h> int is_valid_identity ( int identity, int *error);
(IN) Specifies the identity to validate.
(OUT) If FALSE is returned, points to an error code indicating why the identity is not valid.
Returns 0 for invalid and nonzero for valid.