Function wicrs_server::api::get_user_stripped [−][src]
pub async fn get_user_stripped(user_id: &ID, id: ID) -> Result<GenericUser>
Gets a user’s data while removing all of their private information.
Arguments
id
- The id of the user whose data is being requested.user_id
- ID of the user who is requesting the data.
Errors
This function may return an error if the user’s data cannot be loaded for any of the reasons outlined in User::load
.