From 04463e29f3b10d8230e21bf2743e44fdbbed60c3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Jul 2008 10:50:26 +0200 Subject: netapi: add NetUserGetInfo to public headers. Guenther (This used to be commit 7260fb4dbae556b116e385bdcc240416e8a8cbd2) --- source3/lib/netapi/netapi.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 2260c28bf1..95ecbe35cd 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -686,6 +686,26 @@ NET_API_STATUS NetUserChangePassword(const char * domain_name /* [in] */, const char * old_password /* [in] */, const char * new_password /* [in] */); +/************************************************************//** + * + * NetUserGetInfo + * + * @brief Get User Information + * + * @param[in] server_name The server name to connect to + * @param[in] user_name The name of the user that is going to be queried + * @param[in] level The level defining the requested USER_INFO_X structure + * @param[out] buffer The buffer containing a USER_INFO_X structure + * @return NET_API_STATUS + * + * example user/user_getinfo.c + ***************************************************************/ + +NET_API_STATUS NetUserGetInfo(const char * server_name /* [in] */, + const char * user_name /* [in] */, + uint32_t level /* [in] */, + uint8_t **buffer /* [out] [ref] */); + /************************************************************//** * * NetQueryDisplayInformation -- cgit