@Path(value="/externaluser/{domainUid}")
public interface IExternalUser
DirEntry
entity is to add an external
email to a group.Modifier and Type | Method and Description |
---|---|
ItemValue<ExternalUser> |
byExtId(java.lang.String extId)
Fetch a
ExternalUser by its external id. |
void |
create(java.lang.String uid,
ExternalUser externalUser)
Creates a new
ExternalUser . |
void |
createWithExtId(java.lang.String uid,
java.lang.String extId,
ExternalUser externalUser)
Creates a new
ExternalUser with the given uid. |
void |
delete(java.lang.String uid)
Delete an external user.
|
ItemValue<ExternalUser> |
getComplete(java.lang.String uid)
Fetch a
ExternalUser by its uid. |
java.util.List<ItemValue<Group>> |
memberOf(java.lang.String uid)
Returns the list of
Group
net.bluemind.core.container.api.ItemValue the external user is member
of. |
java.util.List<java.lang.String> |
memberOfGroups(java.lang.String uid)
Retrieves a list of all
Group uids the
external user is member of. |
void |
update(java.lang.String uid,
ExternalUser externalUser)
Modify an existing external user.
|
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, ExternalUser externalUser) throws ServerFault
ExternalUser
.uid
- ExternalUser
's unique idexternalUser
- ExternalUser
ServerFault
- standard error object@PUT @Path(value="{uid}/{extid}/createwithextid") void createWithExtId(@PathParam(value="uid") java.lang.String uid, @PathParam(value="extid") java.lang.String extId, ExternalUser externalUser) throws ServerFault
ExternalUser
with the given uid. Associates an external
id to the ExternalUser
.uid
- the ExternalUser
's unique idextId
- an external id. Usually used to link the
ExternalUser
to an external systemexternalUser
- ExternalUser
ServerFault
- standard error object@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, ExternalUser externalUser) throws ServerFault
uid
- ExternalUser
's unique idexternalUser
- updated ExternalUser
ServerFault
- standard error object@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
uid
- ExternalUser
's unique idServerFault
@GET @Path(value="{uid}/complete") ItemValue<ExternalUser> getComplete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
ExternalUser
by its uid.uid
- ExternalUser
's unique idExternalUser
net.bluemind.core.container.api.ItemValue
, or null if the
ExternalUser
does not existServerFault
- standard error object@GET @Path(value="byExtId/{extid}") ItemValue<ExternalUser> byExtId(@PathParam(value="extid") java.lang.String extId) throws ServerFault
ExternalUser
by its external id.extId
- the external user's external id. Usually used to link the
ExternalUser
to an external systemExternalUser
net.bluemind.core.container.api.ItemValue
, or null if the
ExternalUser
does not existServerFault
- standard error object (unchecked exception)@GET @Path(value="{uid}/groups") java.util.List<ItemValue<Group>> memberOf(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Group
net.bluemind.core.container.api.ItemValue
the external user is member
of.uid
- the ExternalUser
's unique idGroup
net.bluemind.core.container.api.ItemValue
ServerFault
- standard error object@GET @Path(value="{uid}/groupUids") java.util.List<java.lang.String> memberOfGroups(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Group
uids the
external user is member of.uid
- the ExternalUser
's unique idGroup
uidsServerFault
- standard error objectCopyright © 2021. All Rights Reserved.