This package contains the API for the following form handlers and ATG Servlet Beans:
atg.userdirectory.droplet.CreateOrganizationFormHandler
: Use this form handler to create new organizations in the user directory. The Motorprise demo for Business Commerce contains an implementation of this form handler, which it uses to create business units. For more information, refer to Creating Business Units and Roles in the Business Commerce Reference Application Guide. If you have Business Commerce, you can also look at the JSP code in the pagebusiness_unit_new.jsp
, located by default in<ATG11dir>\MotorpriseJSP\j2ee-apps\motorprise\web-app\en\admin
.atg.userdirectory.droplet.HasFunction
: Use to query whether or not a user is associated with a particular organizational rolefunction
value. If the user has the function, thetrue
oparam
is rendered. For an example, refer to Verifying Admin Access in the Business Commerce Reference Application Guide.atg.userdirectory.droplet.TargetPrincipalsDroplet
: Use to retrieve a list of organizations that are associated with roles containing a specificfunction
value.atg.userdirectory.droplet.UserListDroplet
: Retrieves a list of users associated with a specific organization.atg.userdirectory.droplet.ViewPrincipalsDroplet
: Retrieves a list of Principals (either organizations or roles) for a specific user.
For more information about the atg.userdirectory.droplet
package, refer to the ATG Platform API Reference.
For information on additional ways to sort the results of queries performed on a user directory, see the previous section, atg.userdirectory.