Skip to main content

Properties for Custom License Assignment, Duplicate User, and User Consolidation Rules

Use these properties to define Custom rules, Duplicate User rules, and the User Consolidation.

PropertyTypeExample ValueExample Condition
UserNameFirstNameLastNameEmailAddress
UserNamestring"PatLewis"UserName.ToLower() = "plewis"
FirstNamestring"Pat"FirstName.ToLower() = "pat"
LastNamestring"Lewis"LastName.ToLower() = "lewis"
EmailAddressstring"plewis@company.com"EmailAddress.ToLower().EndsWith("@ company.com")
SystemIDstring"ABC-001"SystemID.ToUpper().StartsWith("ABC")
ClientIDstring"001"ClientID = "001"
CurrentLicenseTypestring"52"CurrentLicenseType = "52" OR
CurrentLicenseType = "53"
AccountIDstring"1234567890"AccountID = "1234567890"
TelephoneNumberstring"+441234567890"TelephoneNumber = "+441234567890"
TelephoneExtensionstring"890"TelephoneExtension = "890"
IsDeveloperbooltrueIsDeveloper = true
UserLockStatusint96(UserLockStatus & 32) > 0
Possible values:
- 0: Not locked
- 32: Locked by CUA administrator
- 64: Locked by administrator
- 128: Locked after failed logon
DaysSinceLastLogonint?NULL 365DaysSinceLastLogon != null AND DaysSinceLastLogon > 365
The value is relative to the inventory date.
LastLogonDateDateTime?NULL "20190628"LastLogonDate != null AND LastLogonDate.Value.Date == DateTime.Parse("06/28/2019")
LastLogonDateLocalDateTime?NULL "20190628"LastLogonDateLocal != null AND LastLogonDateLocal.Date == DateTime.Parse("06/28/2019")
UserCreationDateDateTime?NULL "20190628"UserCreationDate != null AND UserCreationDate.Value.Date == DateTime.Parse("06/28/2019")
UserCreationDateLocalDateTime?NULL "20190628"UserCreationDateLocal != null AND UserCreationDateLocal.Date == DateTime.Parse("06/28/2019")
InventoryDateDateTime?NULL "20190628"InventoryDate != null AND InventoryDate.Value.Date == DateTime.Parse("06/28/2019")
InventoryDateLocalDateTime?NULL "20190628"InventoryDateLocal != null AND InventoryDateLocal.Date == DateTime.Parse("06/28/2019")
UserGroupstring"QA"UserGroup = "QA"
UserTypestring"A"UserType = "A" OR UserType = "B"
Possible values:
- A: Dialog
- B: System
- C: Communication Data
- D: BDC
- L: Reference
- S: Service
IsProductionUserbooltrueIsProductionUser
IsProductionUser = true
SystemDefaultLicenseTypestring"91"SystemDefaultLicenseType = "91"
TotalCPUTimedouble1.500TotalCPUTime > 10
CPU time is stated in seconds.
IsUserLockedboolfalseNOT IsUserLocked
IsUserLocked = false
TotalAccessCountdouble10TotalAccessCount > 10
Retrieves the total object access count for a user.
SystemSuiteTypestringClassicBusinessSuite S4HANA "" (for a non-SAP system)SystemSuiteType = "S4Hana"
SystemSuiteType.ToLower() = "s4hana"
SystemSuiteType = ""