is_valid_identity

Determines whether an identity is valid.

Library:LibC
Classification:Novell
Service:NCP Client

Syntax

  #include <client.h>
   
  int is_valid_identity (
     int     identity,
     int    *error);
  

Parameters

identity

(IN) Specifies the identity to validate.

error

(OUT) If FALSE is returned, points to an error code indicating why the identity is not valid.

Decimal

Constant

Description

22

BADHNDL

The identity could not be found.

105

ENOCONTEXT

The calling thread has no context.

Return Values

Returns 0 for invalid and nonzero for valid.

See Also