Storing values against a user

Posted by Community Admin on 03-Aug-2018 21:36

Storing values against a user

All Replies

Posted by Community Admin on 17-Dec-2010 00:00

Is there a built-in way to store strings against a userid?

I want to go to a page, click a button, store a string against that userid...

Then in the backend be able to pull up all the values of that type for that user.

Doable with the Dynamic types?  I'd rather not have to bother with my own OA Model

Posted by Community Admin on 20-Dec-2010 00:00

Hi Steve,

SecurityManager class has a static method -GetCurrentUserId() that you can use. PageData inherits from Content so you use DynamicFacade to store the value if you want to have it in the context of the current page.


Kind regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 20-Dec-2010 00:00

Hmmm...see I was hoping it'd be like a link table...

So two question then if you have a sec
1) What would happen if the page was deleted from the system?...all links to it die as well right?
2) What would the query look like to get all the page references for a user (would it be taxing at all having to query all the pages)?

Posted by Community Admin on 22-Dec-2010 00:00

Hi Steve,

If the page is deleted you will lose all data associated with the object.
This post shows how you can get all items related to a given taxon. ContentDataProviderBase has a method GetItemsByTaxon which you can use.

Best wishes,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed