Joining user to a user group

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Collecting group(s) that the user belongs to

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Collecting user groups

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Creating a new user

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Checking user existence

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);