This project is read-only.

using a session value in a query

Jan 15, 2010 at 10:18 AM

Hi,

Not too sure if this is possible?  I am planning on using windows form authentication for my sharepoint site and the queries I generate from the SLAM info will need to use the session ID of the user who is currently logged onto the site, because every user will see different data depending on the used ID they are logged in with, can this data paramter| (session value?) be inserted into a SLAM query or is it just pure SQL accepted only?

Cheers

 

 

Developer
Jan 15, 2010 at 10:16 PM

Well, I'm not really sure what you mean by a "SLAM query".  SLAM is syncing data out to SQL.  Can you create webpart or something that reads from SQL and passes the user's identity into a query - absolutely.

Allan