A group is simply another InfoObject in the Crystal Enterprise system; its programmatic identifier is CrystalEnterprise.UserGroup and its specific behavior is provided by the UserGroup plugin. See UserGroup Object in the reference for details. Retrieve the groups in the APS by using InfoStore.Query. For example:
var Groups = IStore.Query("SELECT SI_ID, SI_NAME FROM CI_SYSTEMOBJECTS WHERE SI_PROGID='CrystalEnterprise.UserGroup'");
Response.Write (Groups.Item(k).Title);
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |