Sitecore OrderCloud Documentation

docs

Portal login

Me and My Stuff

Published by Rob Watt on February 25, 2015

Last updated on February 25, 2015

Multi-tiered assignments make up a powerful mechanism for customizing the buyer experience down to the individual user. But once configured, the buyer (and developer for that matter) wants a fast and intuitive experience that's more concerned with what they see rather than how or why they see it.

Easy Access to Inherited or Personal Data

OrderCloud provides the Me Resource whose job it is to flatten these assignments for the currently authenticated user and just "show me what I can see" regardless at which level these assignments are made.

For example let's say your buyer user is assigned an address at the buyer level, and another address at the usergroup level. Instead of listing assignments at both of those levels and manually resolving the addresses yourself, you can simply make a list call as that buyer user to me/addresses and quickly get the assigned addresses in one quick and fluid motion.

Ability to Admin Personal Resources

In addition to being able to quickly get information about the currently authenticated user, the Me resource provides a set of admin endpoints for personal resources (Credit Cards and Addresses) that only that user can see. Not even admins have access to viewing the data created by these users without something like impersonation.

Conclusion

We've seen how assignments can be made and flow down to the individual user. We've also seen just how easy it is to access those resolved assignments via the Me resource.


Still have questions?
Ask in our Community Channel

Content Powered By
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore