netapi: add NetUserGetLocalGroups to IDL.
authorGünther Deschner <gd@samba.org>
Tue, 9 Sep 2008 11:40:18 +0000 (13:40 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:30:27 +0000 (14:30 +0200)
Guenther
(This used to be commit 4f13450c6a27a329131a6027fc31fd627f2e61fa)

source3/librpc/idl/libnetapi.idl

index e21dd0cc2b1801b7c6dd443cc63c2ce4ec14d8b2..1ab8c5ff21f5bfc80b4ff8cac94aa4f84b2dd672 100644 (file)
@@ -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                        */
        /*******************************************/