Hi,
I am attempting to retrieve the FullName property through the available.csp code. My problem is that the line beginning with "username" does not appear to be populated with anything and is preventing the page loading. Does anyone have any advice on why this is not retrieving the FullName ?
Thanks- ShortyA
// Defines the query string to be used
var qStr = "SELECT SI_USER FROM CI_SYSTEMOBJECTS WHERE SI_NAME='"+iStore.EnterpriseSession.UserInfo.UserName+"'";
// Runs the query
var result = iStore.Query(qStr);
// Result passed back with FullName property
username = result.Item(1).PluginInterface("".FullName;
I am attempting to retrieve the FullName property through the available.csp code. My problem is that the line beginning with "username" does not appear to be populated with anything and is preventing the page loading. Does anyone have any advice on why this is not retrieving the FullName ?
Thanks- ShortyA
// Defines the query string to be used
var qStr = "SELECT SI_USER FROM CI_SYSTEMOBJECTS WHERE SI_NAME='"+iStore.EnterpriseSession.UserInfo.UserName+"'";
// Runs the query
var result = iStore.Query(qStr);
// Result passed back with FullName property
username = result.Item(1).PluginInterface("".FullName;