Determine all groups for a defined user


<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
	xmlns:xc="http://www.ibm.com/xsp/custom"
	xmlns:xe="http://www.ibm.com/xsp/coreex">
		<xp:panel style="height:400.0px">
			<xe:dumpObject id="dumpObject1">
				<xe:this.value><![CDATA[#{javascript:
importPackage(lotus.notes.addins);
server= new lotus.notes.addins.DominoServer("nuesld15/coisdev");
nameList= server.getNamesList("CN=Ulrich Krause/OU=DUS/OU=DE/O=ISGROUP");
nameList}]]></xe:this.value>
			</xe:dumpObject>
		</xp:panel>

</xp:view>



Object Dump
Array
    [0]	CN=Ulrich Krause/OU=DUS/OU=DE/O=ISGROUP
    [1]	*
    [2]	*/OU=DUS/OU=DE/O=ISGROUP
    [3]	*/OU=DE/O=ISGROUP
    [4]	*/O=ISGROUP
    [5]	Developer
    [6]	IS_WEB
    [7]	ISGROUP
    [8]	Administrators_NUE
    [9]	LocalDomainAdmins
    [10]	Administrators
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...