~~NOTOC~~
[[user_management_api]] > [[BS2_RemoveUserOverride]]
----
===== BS2_RemoveUserOverride =====
This feature allows doors to remain open longer than the standard open time for users who need more time for access, such as people with disabilities or delivery personnel. \\
Set the extended open time for the door through extendedAutoLockTimeout in [[door_control_api#BS2Door]], and specify users to whom the extended open time will apply through [[user management api#BS2UserOverride]]. \\
When using extended open time, the following rules apply: \\
* When users with and without extended open time authenticate consecutively, the open time is applied based on the last authenticated user.
* When using two-step authentication, if at least one authenticated user is subject to extended open time, the door opens with the extended open time.
[+ 2.9.12] Removes users using extended door open time by specifying user IDs. \\
\\
==== Declaration ====
#include "BS_API.h"
int BS2_RemoveUserOverride(void* context, BS2_DEVICE_ID deviceId, const char* userIDs, uint32_t numOfUsers);
[[user management api#BS2UserOverride|View BS2UserOverride structure]]
==== Parameters ====
* [In] ''//context//'' : Context
* [In] ''//deviceId//'' : Device ID
* [In] ''//userIDs//'' : Specifies user IDs to remove
* [In] ''//numOfUsers//'' : Number of user IDs to remove
\\
==== Return Value ====
Returns ''BS_SDK_SUCCESS'' when performed successfully, and returns the corresponding error code when failed.
\\
==== See Also ====
[[BS2_GetUserOverride]]\\
[[BS2_GetAllUserOverride]]\\
[[BS2_SetUserOverride]]\\
[[BS2_RemoveAllUserOverride]]