Cannot apply roles on import
Last Post 04-08-2009 07:55 AM by Candace. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Angus BeareUser is Offline
going with the flow
going with the flow
Posts:42
Avatar

--
04-07-2009 03:50 AM

    Hi

    I'm having trouble setting the roles I want to a user on import.

    I have a field in the import data called 'UserRole' and I've created a matching profile field in DNN.

    In the events setup I've set an only on initial import rule for the field UserProfile. I want to add the user to the 'staff' group every time the value is 1.

    However, none of the role events seem to add the user to a role. I've tried using text in the field instead and using inverted commas but nothing seems to work.

    Here is an extract from the log:

    Records:1
    Display Name:Angus Beare
    Automatically Settings Password for user: angusbeare2
    Prefix: amcham
    Suffix: 3
    Password: amcham914
    PortalID:0
    Created User: angusbeare2 - American Chamber of Commerce to the European Union
    User Status(success):angusbeare2: Success
    Preparing to process Role Events for UserID:20
    Role: 0
    Process When: 0
    Expire Date: 01/01/1753

    Can you help?  I really need this functionality.

    Thanks

    Gus

    Angus BeareUser is Offline
    going with the flow
    going with the flow
    Posts:42
    Avatar

    --
    04-07-2009 04:14 AM
    hmm.. not sure what was going on there but I tried using other fields to set the roles and this worked and then when I tried using the field I wanted to use it started working!?

    odd..
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    04-08-2009 07:55 AM
    Glad to hear you got it working, Angus!


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi