-
Suggestion
-
Resolution: Obsolete
-
None
-
None
-
None
The DirectoryManager provides a method searchUsers() which can only return a List of User or String (username). It also provides the methods findUserWithAttributesByName() and findUserWithAttributesByExternalId(), which retrieve one UserWithAttributes.
It would be nice to expand searchUsers() to be able to return UserWithAttributes too so that consumes do not have to first searchUsers(), only to then call findUserWithAttributesByX() n times.
- is related to
-
CWD-3222 Ability to expand on attributes of users for search in the REST endpoint
- Closed
[CWD-3837] API: Provide a way to retrieve in bulk UserWithAttributes
Workflow | Original: JAC Suggestion Workflow [ 3388825 ] | New: JAC Suggestion Workflow 3 [ 3630860 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1393189 ] | New: JAC Suggestion Workflow [ 3388825 ] |
Issue Type | Original: Improvement [ 4 ] | New: Suggestion [ 10000 ] |
Workflow | Original: Crowd Development Workflow v2 [ 635080 ] | New: Simplified Crowd Development Workflow v2 [ 1393189 ] |
Resolution | New: Obsolete [ 11 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Description |
Original:
The {{DirectoryManager}} provides a method {{searchUsers()}} which can only return a {{List}} of {{User}} or {{String}} (username). It also provides the methods {{findUserWithAttributesByName()}} and {{findUserWithAttributesByExternalId()}}, which retrieve one {{UserWithAttributes}}.
It would be nice to expand {{searchUsers()}} to be able to return {{UserWithAttributes}} too. |
New:
The {{DirectoryManager}} provides a method {{searchUsers()}} which can only return a {{List}} of {{User}} or {{String}} (username). It also provides the methods {{findUserWithAttributesByName()}} and {{findUserWithAttributesByExternalId()}}, which retrieve one {{UserWithAttributes}}.
It would be nice to expand {{searchUsers()}} to be able to return {{UserWithAttributes}} too so that consumes do not have to first {{searchUsers()}}, only to then call {{findUserWithAttributesByX()}} {{n}} times. |
Description |
Original:
The {{DirectoryManager}} provides a method {{searchUsers()}} which can only return a {{User}} or the username ({{String}}). It also provides thhe methods {{findUserWithAttributesByName()}} and {{findUserWithAttributesByExternalId()}}, which retrieve one {{UserWithAttributes}}.
It would be nice to expand {{searchUsers()}} to be able to return {{UserWithAttributes}} too. |
New:
The {{DirectoryManager}} provides a method {{searchUsers()}} which can only return a {{List}} of {{User}} or {{String}} (username). It also provides the methods {{findUserWithAttributesByName()}} and {{findUserWithAttributesByExternalId()}}, which retrieve one {{UserWithAttributes}}.
It would be nice to expand {{searchUsers()}} to be able to return {{UserWithAttributes}} too. |
This was implemented as part of
CWD-3222. If a call is made to DirectoryManager.searchUsers() with a query that specifies UserWithAttributes as the desired return type, the returned list would contain UserWithAttributes.