We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I use this code to create an Experimenter
exp = ExperimenterI() exp.omeName = rstring(username) exp.firstName = rstring(first_name if first_name else "") exp.lastName = rstring(last_name if last_name else "") exp.email = rstring(email if email else "") exp.ldap = rbool(False) # Set LDAP to False group_name = "name" group_obj = admin_service.lookupGroup(group_name) default_group = ExperimenterGroupI(group_obj.id.val, False) groups = [default_group] # Save the experimenter exp = admin_service.createExperimenterWithPassword( exp, rstring(password), default_group, groups ) return exp
But after creating an experimenter it set active flag to false and user can not login to the OMERO admin
Is there any way on how I can make this user active with the admin service?
Thanks
The text was updated successfully, but these errors were encountered:
You need to add the user to the user group:
user
groups = [default_group] groups.append(admin_service.lookupGroup('user'))
Sorry, something went wrong.
Thanks for the fast answer! It helped
No branches or pull requests
Hi, I use this code to create an Experimenter
But after creating an experimenter it set active flag to false and user can not login to the OMERO admin
Is there any way on how I can make this user active with the admin service?
Thanks
The text was updated successfully, but these errors were encountered: