Quantcast
Channel: SCN : Unanswered Discussions - BI Platform
Viewing all articles
Browse latest Browse all 5661

BO 4.1 sdk c# secLDAP geting null value

$
0
0

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,


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>