Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add user into group and create new contact with user data? #3756

Closed
rakshazi opened this issue Mar 7, 2017 · 1 comment
Closed

How to add user into group and create new contact with user data? #3756

rakshazi opened this issue Mar 7, 2017 · 1 comment

Comments

@rakshazi
Copy link

rakshazi commented Mar 7, 2017

Hello!
This is not issue as "bug", its a question.
I use LDAP user backend, but need to extend it's functionality.
I need to create nextcloud app which can do following things after user registration via LDAP (based on user hook):

  1. Add that user into group "Users"
  2. Create new contact with user information from LDAP into addressbook "Users"

I already found how to get basic user info, but I don't know how to get info from ldap user data.

Please, help me with following questions:

  1. How to get full user info from LDAP (needed all fields)?
  2. How to add user into nextcloud group?
  3. How to create new contact with that info?

Thank you!

@rakshazi
Copy link
Author

Problem has been solved by developing simple LDAP admin panel which add user in selected address book

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants