Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to set access for created users programatically

Avatar

Level 4

Hi CQ5 Experts,

 I have few question regarding user management

 1.  I have created user in site admin and the user is created under home/users list.But i couldn't login by using created user.Once i assigned the access resource for that created user in AccessControl tab i can able to login.How its happening ????

 2.Same way I created user programatically  using UserManager and AccountManager API .User is created successfully.

    Now i want to assign the access for that created user programmatically ??? Is it any possible ways for doing that?? Please suggest me how to achieve this.

 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 5
3 Replies

Avatar

Level 4

Friends , I have found the solution.

Now please tell me how to create a group and set permissions programatically ?

 

Thanks in advance

Avatar

Level 4

Found a way to create a group.But couldn't find to assign the access through program.

Please suggest me the solution.

Thanks in advance

Avatar

Correct answer by
Level 5

Please check http://wemcode.wemblog.com/add-acl-to-node if that helps.

Yogesh