From e4ae2989717087a60641a4da5f162d814a1ea02a Mon Sep 17 00:00:00 2001 From: mhussaincgi Date: Tue, 22 Oct 2024 13:03:12 -0700 Subject: [PATCH] BCMOHAD-24687 & BCMOHAD-24689 --- ...er_with_Permission_set.reportType-meta.xml | 413 ++++++++++++++++++ .../reports/UserSetup.reportFolder-meta.xml | 9 + ...er_with_Permission_Set_DXX.report-meta.xml | 73 ++++ 3 files changed, 495 insertions(+) create mode 100644 force-app/main/default/reportTypes/User_with_Permission_set.reportType-meta.xml create mode 100644 force-app/main/default/reports/UserSetup.reportFolder-meta.xml create mode 100644 force-app/main/default/reports/UserSetup/Active_User_with_Permission_Set_DXX.report-meta.xml diff --git a/force-app/main/default/reportTypes/User_with_Permission_set.reportType-meta.xml b/force-app/main/default/reportTypes/User_with_Permission_set.reportType-meta.xml new file mode 100644 index 000000000..781f218ce --- /dev/null +++ b/force-app/main/default/reportTypes/User_with_Permission_set.reportType-meta.xml @@ -0,0 +1,413 @@ + + + User + other + true + User with Permission set + + false + PermissionSetAssignments + + + + + false + Id + User
+
+ + false + Username + User
+
+ + true + Name + User
+
+ + false + FirstName + User
+
+ + false + LastName + User
+
+ + false + MiddleName + User
+
+ + false + Suffix + User
+
+ + false + CompanyName + User
+
+ + false + Division + User
+
+ + false + Department + User
+
+ + false + Title + User
+
+ + false + Address + User
+
+ + false + Street + User
+
+ + false + City + User
+
+ + false + State + User
+
+ + false + PostalCode + User
+
+ + false + Country + User
+
+ + false + Latitude + User
+
+ + false + Longitude + User
+
+ + false + GeocodeAccuracy + User
+
+ + false + Email + User
+
+ + false + SenderEmail + User
+
+ + false + SenderName + User
+
+ + false + Signature + User
+
+ + false + StayInTouchSubject + User
+
+ + false + StayInTouchSignature + User
+
+ + false + StayInTouchNote + User
+
+ + false + Phone + User
+
+ + false + Fax + User
+
+ + false + MobilePhone + User
+
+ + false + Alias + User
+
+ + false + CommunityNickname + User
+
+ + false + IsActive + User
+
+ + false + IsSystemControlled + User
+
+ + false + TimeZoneSidKey + User
+
+ + false + UserRole + User
+
+ + false + LocaleSidKey + User
+
+ + false + ReceivesInfoEmails + User
+
+ + false + ReceivesAdminInfoEmails + User
+
+ + false + EmailEncodingKey + User
+
+ + false + Profile + User
+
+ + false + UserType + User
+
+ + false + UserSubtype + User
+
+ + false + StartDay + User
+
+ + false + EndDay + User
+
+ + false + LanguageLocaleKey + User
+
+ + false + EmployeeNumber + User
+
+ + false + Manager + User
+
+ + false + LastLoginDate + User
+
+ + false + LastPasswordChangeDate + User
+
+ + false + CreatedDate + User
+
+ + false + CreatedBy + User
+
+ + false + LastModifiedDate + User
+
+ + false + LastModifiedBy + User
+
+ + false + NumberOfFailedLogins + User
+
+ + false + SuAccessExpirationDate + User
+
+ + false + SuOrgAdminExpirationDate + User
+
+ + false + OfflineTrialExpirationDate + User
+
+ + false + WirelessTrialExpirationDate + User
+
+ + false + OfflinePdaTrialExpirationDate + User
+
+ + false + ForecastEnabled + User
+
+ + false + Contact + User
+
+ + false + Account + User
+
+ + false + CallCenter + User
+
+ + false + Extension + User
+
+ + false + FederationIdentifier + User
+
+ + false + AboutMe + User
+
+ + false + DigestFrequency + User
+
+ + false + DefaultGroupNotificationFrequency + User
+
+ + false + ChatterAdoptionStage + User
+
+ + false + ChatterAdoptionStageModifiedDate + User
+
+ + false + IsProfilePhotoActive + User
+
+ + false + Individual + User
+
+ + false + GlobalIdentity + User
+
+ + false + Keycloak_Roles__c + User
+
+ Users +
+ + + false + Id + User.PermissionSetAssignments
+
+ + false + PermissionSet + User.PermissionSetAssignments
+
+ + false + PermissionSetGroup + User.PermissionSetAssignments
+
+ + false + ExpirationDate + User.PermissionSetAssignments
+
+ Permission Set Assignments (User) +
+
diff --git a/force-app/main/default/reports/UserSetup.reportFolder-meta.xml b/force-app/main/default/reports/UserSetup.reportFolder-meta.xml new file mode 100644 index 000000000..667bcf18f --- /dev/null +++ b/force-app/main/default/reports/UserSetup.reportFolder-meta.xml @@ -0,0 +1,9 @@ + + + + Manage + sasalesforceadmin@gov.bc.ca + User + + User Setup + diff --git a/force-app/main/default/reports/UserSetup/Active_User_with_Permission_Set_DXX.report-meta.xml b/force-app/main/default/reports/UserSetup/Active_User_with_Permission_Set_DXX.report-meta.xml new file mode 100644 index 000000000..66e6489fb --- /dev/null +++ b/force-app/main/default/reports/UserSetup/Active_User_with_Permission_Set_DXX.report-meta.xml @@ -0,0 +1,73 @@ + + + + User$Name + + + User.PermissionSetAssignments$PermissionSetGroup + + + User.PermissionSetAssignments$PermissionSet + + + User$Username + + + User$UserRole + + + Sum + User$IsActive + + + User$Profile + + + User.PermissionSetAssignments$ExpirationDate + + + User$LastLoginDate + + + User*User$Keycloak_Roles__c + + + User$LastModifiedDate + + + User$LastModifiedBy + + + + User$IsActive + false + true + equals + 1 + + + User.PermissionSetAssignments$PermissionSet + false + true + notEqual + + + + Tabular + Active User with Permission Set + + co + 1 + + User_with_Permission_set__c + organization + true + true + false + User$Name + Asc + + User$ChatterAdoptionStageModifiedDate + INTERVAL_CUSTOM + +