Package com.adobe.livecycle.usermanager.client

Examples of com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient.findPrincipals()


            try {
                PrincipalSearchFilter psf = new PrincipalSearchFilter();
                DirectoryManagerServiceClient dirClient = new DirectoryManagerServiceClient(liveCycleService.getServiceClientFactory());
                psf.setUserIdAbsolute(userName);
                List<?> principalList = null;
                principalList = dirClient.findPrincipals(psf);
                Iterator<?> pit = principalList.iterator();
                User lcUser = null;
                if (pit.hasNext())
                    lcUser = (User) (pit.next());
                canonicalName = lcUser.getCanonicalName();
View Full Code Here


                TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(clientFactory);
                TaskManager taskManager = TaskManagerClientFactory.getTaskManager(clientFactory);
                DirectoryManagerServiceClient dirClient = new DirectoryManagerServiceClient(clientFactory);
                PrincipalSearchFilter psf = new PrincipalSearchFilter();
                psf.setUserIdAbsolute(user.getUserName());
                List<?> principalList = dirClient.findPrincipals(psf);
                Iterator<?> pit = principalList.iterator();
                User lcUser = null;
                if (pit.hasNext())
                    lcUser = (User) (pit.next());
                Set<Group> groupMemberships = lcUser.getGroupMemberships();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.