내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to set access for created users programatically

Avatar

이전 커뮤니티 멤버

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 5

Sridhar,

I guess it is same question about assigning ACL to Principal (User or Group). Here is example http://wemcode.wemblog.com/add-acl-to-node. Best practice is,

1) Create Group (Or roles)

2) Assign ACL to Group

3) Create User

4) Assign User to Group.

Yogesh

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Level 5

Sridhar,

I guess it is same question about assigning ACL to Principal (User or Group). Here is example http://wemcode.wemblog.com/add-acl-to-node. Best practice is,

1) Create Group (Or roles)

2) Assign ACL to Group

3) Create User

4) Assign User to Group.

Yogesh

Avatar

이전 커뮤니티 멤버

Yogesh Upadhyay wrote...

Sridhar,

I guess it is same question about assigning ACL to Principal (User or Group). Here is example http://wemcode.wemblog.com/add-acl-to-node. Best practice is,

1) Create Group (Or roles)

2) Assign ACL to Group

3) Create User

4) Assign User to Group.

Yogesh

 


Thanks man.It will be helpful.

Avatar

이전 커뮤니티 멤버

Sridhar wrote...

Yogesh Upadhyay wrote...

Sridhar,

I guess it is same question about assigning ACL to Principal (User or Group). Here is example http://wemcode.wemblog.com/add-acl-to-node. Best practice is,

1) Create Group (Or roles)

2) Assign ACL to Group

3) Create User

4) Assign User to Group.

Yogesh

 


Thanks man.It will be helpful.

 


I think jack rabbit is not recommended.how it possible in DAY API???