Plus 10 Knowledge
Crap that we should remember.
August 6, 2004
Using cfscript to create a java object to read active directory groups.
<cfscript>
o_NTAuth = createObject("java", "jrun.security.NTAuth");
o_NTAuth.init("Name_of_Domain");
groups = o_NTAuth.getUserGroups("#listlast(cgi.AUTH_USER,"\")#");
</cfscript>
<cfdump var="#groups#"/>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment