You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errorMessage: `This user is logging in directly to Salesforce without using MFA (Multi-Factor Authentication). And this user has not the MFA bypass enabled. Please work with your user to make them use MFA for better security.`,
`WHERE (LoginType = 'Application' `+// Adding parenthesis because we have a OR here
44
-
`OR LoginType LIKE '%SSO%') `+// and the option 'queryMoreField' will add a final AND
45
-
`GROUP BY UserId, LoginType, AuthMethodReference, Status `,
43
+
`WHERE (LoginType = 'Application' OR LoginType LIKE '%SSO%') `+// the option 'queryMoreField' will add a final AND so that's why we have parenthesis here around the OR statement
44
+
'GROUP BY UserId, Status, LoginType '+
45
+
'ORDER BY UserId, Status, LoginType ',
46
46
queryMoreField: 'LoginTime'// aggregate does not support calling QueryMore, use the custom instead
{Id: '005',Name: 'User is still under classic',ProfileId: '001',LastLoginDate: newDate(),LastPasswordChangeDate: newDate(),NumberOfFailedLogins: 0,UserPreferencesLightningExperiencePreferred: false,UserPreferencesUserDebugModePref: false},
0 commit comments