From: Günther Deschner Date: Tue, 9 Sep 2008 11:40:18 +0000 (+0200) Subject: netapi: add NetUserGetLocalGroups to IDL. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f13450c6a27a329131a6027fc31fd627f2e61fa;p=thirdparty%2Fsamba.git netapi: add NetUserGetLocalGroups to IDL. Guenther --- diff --git a/source/librpc/idl/libnetapi.idl b/source/librpc/idl/libnetapi.idl index e21dd0cc2b1..1ab8c5ff21f 100644 --- a/source/librpc/idl/libnetapi.idl +++ b/source/librpc/idl/libnetapi.idl @@ -626,6 +626,27 @@ interface libnetapi [in] uint32 num_entries ); + /*******************************************/ + /* NetUserGetLocalGroups */ + /*******************************************/ + + const int LG_INCLUDE_INDIRECT = 0x0001; + + typedef struct { + string lgrui0_name; + } LOCALGROUP_USERS_INFO_0; + + [nopush,nopull] NET_API_STATUS NetUserGetLocalGroups( + [in] string server_name, + [in] string user_name, + [in] uint32 level, + [in] uint32 flags, + [out] uint8 **buffer, + [in] uint32 prefmaxlen, + [out,ref] uint32 *entries_read, + [out,ref] uint32 *total_entries + ); + /*******************************************/ /* NetUserModalsGet */ /*******************************************/