Has anyone managed to remove profile session/password settings to allow the org defaults to apply to all users? Can't seem to remove session timeout to "none" on the profile UI, it only allows you to choose a timeout option, as per the screenshot below.
According to documentation here https://help.salesforce.com/articleView?id=users_profiles_session.htm&type=0 "You can control session settings on a user profile basis. If you don’t configure the profile session settings, the org’s session settings apply to users of the profile. When set, the profile settings override the org-wide settings."
Has anyone removed the profile settings to allow the org-wide settings to apply?
Currently investigating using Metadata API:
ProfileSessionSettings on Metadata API: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_profilesessionsetting.htm#meta_profilesessionsetting
Update: It seems ProfileSessionSettings are not easily deployable between environments, as they are created automatically with a different name in each org (e.g. My_Custom_Profile_profileSessionSetting1530713097465.profileSessionSetting), and only one of these files can exist per Profile name - otherwise, a deployment error occurs. Could be possible to set these on first deployment of a new profile to an org, but for an existing project, moving users off profiles to destroy and redeploy them can be quite time-consuming.
ProfilePasswordPolicy on Metadata API: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_profilepasswordpolicy.htm#meta_profilepasswordpolicy
SecuritySettings on Metadata API: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_securitysettings.htm