Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This article is prerelease documentation and is subject to change.]
Important
- This is a preview feature.
- Preview features aren’t meant for production use and might have restricted functionality. These features are subject to supplemental terms of use, and are available before an official release so that customers can get early access and provide feedback.
$pages.user object
Client API user authentication uses the $pages.user object to sign users in and out of a Power Pages site. Use these methods to manage user access in client-side code.
$pages.user methods
These methods don't return any value.
| Method | Description |
|---|---|
signIn |
Redirects the user to the sign-in page. |
signOut |
Signs out the currently signed-in user. |