LIBNIT_SIDToString

This function converts the specified Active Directory SID to a string.

Syntax

#include <nitlibext.h>
int LIBNIT_SIDToString (
                         const NIT_SID_t *adsid,
                         char *sidstr
                       )

Parameters

adsid

(IN) Specifies the Active Directory SID value.

sidstr

(OUT) Returns a '\0' terminated string.

Return Values

0

NIT_SUCCESS

Success

-9014

NITERR_INVALID_PARAMETER

The parameters passed are NULL or invalid.