Contents

SettingsCommand.Command.Settings.SharedDeviceConfiguration.PasscodePolicy

A dictionary that contains passcode policies.

Declaration

object SettingsCommand.Command.Settings.SharedDeviceConfiguration.PasscodePolicy

Properties

NameTypeDescription
AutoLockTimeinteger

The number of seconds before a device goes to sleep after being idle. The minimum value for this setting is 120 seconds.

PasscodeLockGracePeriodinteger

The number of seconds before a locked screen requires the user to enter the device passcode to unlock it. The minimum value is 0 seconds and the maximum value is 14400 seconds.

If a device has a passcode, a change to a larger value doesn’t take effect until the user logs out or removes the passcode. For this reason, it’s better to set this value before the user sets a passcode.

If the value is less than one of the known values, the device uses the next lowest value. For example a value of 299 results in an effective setting of 60.

This setting won’t take effect if TemporarySessionOnly is true because there’s no passcode for a temporary session.

See Also

Objects