Skip to content

Instantly share code, notes, and snippets.

View rickx1's full-sized avatar

Ricardo Belfor rickx1

View GitHub Profile
@rickx1
rickx1 / Show principals display name.js
Last active April 26, 2020 15:57
This code will display the distinguished name of a group or user in the interface instead of the display name. Store these files as snippets in your browser developers tools and run them when needed.
// Restore the original function, showing the display name
if ( acceUtil ) {
if ( acceUtil.originalGetSecurityPrincipalDisplayName ) {
acceUtil.getSecurityPrincipalDisplayName = acceUtil.originalGetSecurityPrincipalDisplayName;
console.log("Showing the principals display name");
}
}