Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
451 stars 597 forks source link

Users to CSV Exporter - Add Custom Property #2108

Closed dpettirosso closed 4 years ago

dpettirosso commented 4 years ago

Required Information

Expected Behavior

I initially asked about this via an Adobe DayCare ticket but was advised to follow up via this ACS portal. The issue I am asking about is as follows.

A report of Users and their Groups (Groups for Permissions) is available via: AEM: Tools -> ACS AEM Commons -> Users to CSV Exporter

I have run that exporter which outputs to a CSV file.

It is a very useful report.

However, to make it more informative and usable, I would like to add in two more fields for the following info: • User Account Status (Enabled/Disabled) • Account Type (i.e., Service Type Account or non Service Type Account (Regular Type User)

The Users to CSV Exporter tool also has the following section:

Custom User Properties (Relative path from the [rep:User] node) • Add Custom Property

I have had a look at various doco, which refers to CRXDE and to the getNode() method, and other info, including the following.

Exporters: https://adobe-consulting-services.github.io/acs-aem-commons/features/exporters/users/index.html

Interface UserProperties: https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/com/adobe/granite/security/user/UserProperties.html

But that is not very helpful to me.

I’m just after a simple way to look up the field names for the two additional fields I am after. And then adding them in via the Add Custom Property option.

Would you please be able to assist with that.

Actual Behavior

Unable to add the following fields into the report • User Account Status (Enabled/Disabled) • Account Type (i.e., Service Type Account or non Service Type Account (Regular Type User)

Steps to Reproduce

Refer to info included above.

Links

Refer to info included above.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.