This function converts the specified string to Active Directory SID.
#include <nitlibext.h>
int LIBNIT_StringToSID (
const char *sidstr,
NIT_SID_t *adsid
)
(IN) Specifies the string.
(OUT) Returns the Active Directory SID.
|
0 |
NIT_SUCCESS |
Success |
|
-9014 |
NITERR_INVALID_PARAMETER |
The parameters passed are NULL or invalid. |