Jahia Dev Forum > User details in...

0 (0 Good)
0 (0 Bad)

User details in MysqlDB

by  chintucool »  2013/09/08 10:22

Hi,

Can you please let me know where Jahia stores user and group details in Mysql, and if I want to add a member in a particular group which table I need to update.

Please help me, this is my project requirement which is very urgent.

Thanks,

Abhishek

  • User details in MysqlDB
    2013/09/08 10:22

    chintucool <p> Hi,</p> <p> Can you please let me know where Jahia stores user and group details in Mysql, and if I want to add a member in a particular group which table I need to update.</p> <p> Please help me, this is my project requirement which is very urgent.</p> <p> Thanks,</p> <p> Abhishek</p>

  • Number of messages  11
    Registration date Sep 8, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: User details in MysqlDB

    by  shyrkov »  2013/09/10 12:52

    Hello Abhishek,

    which Jahia version are you referring to?

    If this is Jahia 6.6, than there is no dedicated DB table where you could manually add user or group.

    If this is another version of Jahia, please, let me know the exact version and build number.

    Kind regards

    Sergiy

  • Re: User details in MysqlDB
    2013/09/10 12:52

    shyrkov <p> Hello Abhishek,</p> <p> which Jahia version are you referring to?</p> <p> If this is Jahia 6.6, than there is no dedicated DB table where you could manually add user or group.</p> <p> If this is another version of Jahia, please, let me know the exact version and build number.</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Sep 10, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: User details in MysqlDB

    by  chintucool »  2013/09/10 14:54

    Thanks for your reply...

    But I am using 6.6.x version only... :(

    Are these info getting stored in any file , actually my requirement is to map single user to multiple groups. This funtionality is not present in front end, so is there any other way to do this ??

     

    Thanks,

    Abhishek

  • Re: Re: User details in MysqlDB
    2013/09/10 15:29

    chintucool <p> Thanks for your reply...</p> <p> But I am using 6.6.x version only... :(</p> <p> Are these info getting stored in any file , actually my requirement is to map single user to multiple groups. This funtionality is not present in front end, so is there any other way to do this ??</p> <p> &nbsp;</p> <p> Thanks,</p> <p> Abhishek</p>

  • Number of messages  11
    Registration date Sep 10, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: User details in MysqlDB

    by  shyrkov »  2013/09/16 10:17

    Hello,

    you could use Jahia API to add user to a group:

    org.jahia.services.usermanager.JahiaGroup.addMember(Principal)

     

    and do it for all the groups, you would like a user be member of.

     

    Kind regards

    Sergiy

  • Re: Re: Re: User details in MysqlDB
    2013/09/16 10:18

    shyrkov <p> Hello,</p> <p> you could use Jahia API to add user to a group:</p> <p> org.jahia.services.usermanager.JahiaGroup.addMember(Principal)</p> <p> &nbsp;</p> <p> and do it for all the groups, you would like a user be member of.</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Sep 16, 2013
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page