sdobbins-reportingguru
-
2/10/2014 12:26:09 PM
K# Get Memberships
Hey All,
So I am having an issue. I have created a test membership and added a couple of users to that membership. While logged in as any of the users in the membership, when I run the command CurrentUser.HasAnyMemberships(), it comes back true. All good so far.
However, when I run CurrentUser.Memberships.Count, it comes back with 0. The ideal would be to call CurrentUser.Memberships.FirstItem.DisplayName, to determine which membership they are a part of, however, it comes back null/blank.
What could I be missing?
Thanks!
|