block( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Blocks a member from logging in to the site using an ID or email address.

To unblock the member and allow them to log in to the site, use the approve() function.

Method Declaration
Copy
Method Parameters
optionsBlockOptions

Options for blocking a member from logging in.

Did this help?