Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • arviman 71 posts 92 karma points
    Jul 06, 2010 @ 23:34
    arviman
    0

    Creating and associating content with custom members

    Hi everyone!I'm using a custom membership provider, and was wondering if there was a good way of associating members with dynamically created content? For eg. let's say that a currenlty logged in user wishes to upload a photo gallery. I could use Membership.GetUser and associate his username/unique email with a property of the node called "Created by user" or something similar. This however doesn't seem like the best way to go about it.

    What I think would be ideal is to somehow associate the member with content as in the case of creating a new media item using media.createNew(id) . However, the asp.net membership api doesnt' really have an Id value like the umbraco's membership API. Any thoughts on this? Thanks!

    BTW I'm using umbraco v4.01.

  • arviman 71 posts 92 karma points
    Jul 06, 2010 @ 23:40
    arviman
    0

    I'm not sure why i cant seem to edit my previous post. But another question -

    Is there a way to get an umbraco.BusinessLogic.User object using the membership API?

  • arviman 71 posts 92 karma points
    Jul 14, 2010 @ 03:55
    arviman
    0

    Since we're using a custom membership API, we ended up creating a seperate property associated with the doctype that stores the name of the user.

Please Sign in or register to post replies

Write your reply to:

Draft