Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I am attempting to retrieve th

Status
Not open for further replies.

ShortyA

MIS
Feb 20, 2002
363
CH
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;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top