Active Directory/Search for a user: Difference between revisions
Added FreeBASIC
m (→{{header|Wren}}: Changed to Wren S/H) |
(Added FreeBASIC) |
||
(One intermediate revision by one other user not shown) | |||
Line 89:
end
</syntaxhighlight>
=={{header|FreeBASIC}}==
See [https://rosettacode.org/wiki/Active_Directory/Connect#FreeBASIC Active_Directory/Connect#FreeBASIC]
=={{header|Go}}==
Line 950 ⟶ 953:
Note that, in an actual case, one would need to wrap more LDAP functions to process the search results.
<syntaxhighlight lang="wren">/*
var LDAP_SCOPE_SUBTREE = 0x0002
Line 1,130 ⟶ 1,133:
WrenVM* vm = wrenNewVM(&config);
const char* module = "main";
const char* fileName = "
char *script = readFile(fileName);
WrenInterpretResult result = wrenInterpret(vm, module, script);
|