bernardodemarco commented on issue #10030:
URL: https://github.com/apache/cloudstack/issues/10030#issuecomment-2547066023

   @scottsignal, just letting you know that I've opened a PR (#10115) to extend 
the `listUsers` API, enabling callers to filter users by their authentication 
source (e.g., `native`, `saml2`, `saml2disabled`, and `ldap`). UI support has 
also been implemented.
   
   On 
https://github.com/apache/cloudstack/issues/10030#issuecomment-2515652824, I 
mentioned the possibility of addressing similar behavior for the `listAccounts` 
API. However, in CloudStack, an account can be linked to users with different 
sources. For instance, in the following scenario, an LDAP account (`gauss`) was 
created, which automatically generated a default user. Later, a native user was 
added to the same account.
   
   
![image](https://github.com/user-attachments/assets/56d0dbd6-aac8-4915-b03c-50d753bacc62)
   
   Since the `usersource` attribute is tied to users rather than accounts, it's 
not possible to extend the `listAccounts` API in the same way it was done with 
`listUsers`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to