Get authenticated user (equivalent to getSignedInUser from legacy client) Returns the current signed-in user object from NDEx server
For basic authentication: Gets the current user using the /user endpoint For OAuth authentication: Uses the /users/signin endpoint with ID token
The authenticated user object
Get current user profile (equivalent to getSignedInUser from legacy client) Returns the current signed-in user object from NDEx server
Uses the /user endpoint with {valid: true} parameter for both basic and OAuth authentication. Unlike authenticate(), this function will NOT automatically create a user account for OAuth. If the OAuth ID token doesn't match an existing user, it will return an unauthorized error.
The current user object
Update current user profile Uses the UUID from the userUpdate object and server validates against authenticated user
Request password reset
Reset password with user UUID (server validates UUID matches authenticated user)
User UUID (must match authenticated user)
New password as plain text
Get user by account name or email (matches server getUserByAccountNameOrAuthenticatUser)
Search criteria - either by username OR by email, but not both
User object matching the search criteria
Get multiple users by their UUIDs (batch operation)
Array of user UUIDs to fetch
Array of user objects corresponding to the provided UUIDs
Search users (equivalent to searchUsers from legacy client)
Search string to find users
Optionalstart: numberStarting offset for pagination (optional)
Optionalsize: numberMaximum number of results to return (optional)
Search result containing users matching the search criteria
Get networks for a user's account page (equivalent to getAccountPageNetworks from legacy client)
User UUID to get networks for
Optionaloffset: numberStarting offset for pagination (optional)
Optionallimit: numberMaximum number of networks to return (optional)
Array of V2 network summaries for the specified user
Get User's Home Content Returns the content of a user's home folder including networks, folders, and shortcuts. Shows different content based on authentication status and relationship to the user.
User UUID to get home content for
Format parameter: 'update' or 'compact' (default: "update")
List of file items in the user's home folder
Delete user account (server validates userid matches authenticated user)
User UUID to delete (must match authenticated user)
UserService - NDEx user-related operations Handles authentication, user management, and user workspace operations