diff --git a/docs/templates/sdk/types/user.mdx b/docs/templates/sdk/types/user.mdx index cc6c05fae..0889748aa 100644 --- a/docs/templates/sdk/types/user.mdx +++ b/docs/templates/sdk/types/user.mdx @@ -1171,6 +1171,10 @@ You can call `useUser()` or `stackServerApp.getUser()` to get the `CurrentUser` +--- + +
+ # `ServerUser` The `ServerUser` object contains most `CurrentUser` properties and methods with the exception of those that require an active session (`getAuthJson` and `signOut`). It also contains some additional functions that require [server-level permissions](../../concepts/stack-app.mdx#client-vs-server). @@ -1556,6 +1560,10 @@ The `ServerUser` object contains most `CurrentUser` properties and methods with {/* END_PLATFORM */} +--- + +
+ # `CurrentServerUser` The `CurrentServerUser` object combines all the properties and methods of both `CurrentUser` and `ServerUser`. You can obtain a `CurrentServerUser` by calling `stackServerApp.getUser()` on the server side.