Hi,
I am doing an enhancement of sdk developed utility.
Below code is snippet of dll file created which is used by utility and works fine existing setup.
While debugging on below code , I get null for ldapObj. but InfoObj has "{secLDAP}" when a quick watch is done.
InfoObject is not typecast to secLDAP.
Bo 4.1 sdks; .net 4.0,x86 targer platform, using Visual Studion 2013 and code is C#.
string query = "SELECT TOP 1 * FROM CI_SYSTEMOBJECTS WHERE SI_NAME = 'secLDAP'";
infoObjects = infoStore.Query(query);
if (infoObjects.ResultCount > 0)
{
CrystalDecisions.Enterprise.InfoObject infoObj = infoObjects[1];
CrystalDecisions.Enterprise.Auth.secLDAP ldapObj = infoObj as CrystalDecisions.Enterprise.Auth.secLDAP);
ldap.Properties["SI_UPDATE_TS"].Value = DateTime.Now;
infoStore.Commit(infoObjects);
}
Thanks,
Regards,
Pramod,