|
Administration interface providing access to admin-only functionality as well as JMX-based server access and selected user functions. Most methods require membership in privileged model::ExperimenterGroup groups. Methods which return model::Experimenter or model::ExperimenterGroup instances fetch and load all related instances of model::ExperimenterGroup or model::Experimenter, respectively.
Deprecated.
ldap
property set to
false
.ldap
property set to
false
.Searches all model::Experimenter list on LDAP for attribute objectClass = person.
all Experimenter list.
Searches Distinguished Name in groups.
List of groups which contains DN.
Searches all model::Experimenter in LDAP for specified attribute.
List of Experimenters.
Searches all model::Experimenter in LDAP for specified attributes. Attributes should be specified in StringSet and their values should be set in equivalent StringSet.
List of Experimenters.
Searches one model::Experimenter in LDAP for specified Distinguished Name.
an Experimenter.
Searches unique Distinguished Name - string in LDAP for Common Name equals username. Common Name should be unique under the specified base. If list of cn's contains more then one DN will return exception.
a Distinguished Name. Never null.
Looks up the DN for a group.
a Distinguished Name. Never null.
Searches Experimenter by unique Distinguished Name - string in LDAP for Common Name equals username. Common Name should be unique under the specified base. If list of cn's contains more then one DN will return exception.
an Experimenter. Never null.
Looks up a specific model::ExperimenterGroup in LDAP using the provided group name. It is expected that the group name will be unique in the searched LDAP base tree. If more than one group with the specified name has been found, an exception will be thrown.
an ExperimenterGroup. Never null.
Exceptions
- ApiUsageException
-
if more then one group name matches under the
specified base.
void setDN(RLong experimenterID, string dn) throws ServerError
setDN() is deprecated. Set the LDAP flag on model objects instead.
bool getSetting() throws ServerError
Gets config value from properties.
Return Value
boolean
ExperimenterList discover() throws ServerError
Discovers and lists model::Experimenters who
are present in the remote LDAP server and in the local DB
but have the ldap
property set to
false
.
Return Value
list of Experimenters.
ExperimenterGroupList discoverGroups() throws ServerError
Discovers and lists model::ExperimenterGroups
which are present in the remote LDAP server and in the local
DB but have the ldap
property set to
false
.
Return Value
list of ExperimenterGroups.
model::Experimenter createUser(string username) throws ServerError
Creates an model::Experimenter entry in the
OMERO DB based on the supplied LDAP username.
Parameters
-
Return Value
created Experimenter or null
Home
Previous
Up
Next
Index