From: Günther Deschner Date: Wed, 16 Jul 2008 08:50:26 +0000 (+0200) Subject: netapi: add NetUserGetInfo to public headers. X-Git-Tag: samba-3.3.0pre1~487 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7260fb4dbae556b116e385bdcc240416e8a8cbd2;p=thirdparty%2Fsamba.git netapi: add NetUserGetInfo to public headers. Guenther --- diff --git a/source/lib/netapi/netapi.h b/source/lib/netapi/netapi.h index 2260c28bf17..95ecbe35cd4 100644 --- a/source/lib/netapi/netapi.h +++ b/source/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