Using ldap Network Management Functions how to get nested groups that are members of a parent group

Using NetLocalGetMembers() I can get the users withing a group
Using NetUserGetGroups() I can get the groups a user is part of.
However, I cant find a function that will list the GROUPS that are part of another group.
I have a group called APP_ADMIN,  it has user1, user2 and also groups ADMIN_GRP_A and ADMIN_GROUP_B
I need a function to return ADMIN_GROUP_A, ADMIN_GOUP_B if I pass in APP_ADMIN
or Alternativly, given ADMIN_GROUP_A give me its parent group (APP_ADMIN)
I am writing a C++  dll that accesses these functions.

Hi,
Plz check this link.
http://gallery.technet.microsoft.com/scriptcenter/Get-nested-group-15f725f2
Ashish Gaur

Similar Messages

  • Can someone tell me how to get my apps that are on my ipad to appear on my TV using Apple Tv

    Can someone tell me how to get my apps that are on my IPad to be viewed on my Apple TV?

    Welcome to the Apple Community Coachcad.
    Basic AirPlay: Assuming both devices are on the same network and that AirPlay is not turned off on the Apple TV, then simply tap on the screen when you are watching content you wish to stream to your Apple TV, then tap the airplay icon that appears in the control bar, choose the Apple TV from the menu that appears.
    Mirroring: When displaying the content you wish to mirror on the iPad 2 (or better), iPad Mini, iPhone 4S (or better), swipe from the bottom of the screen, tap the AirPlay icon and choose your Apple TV from the list of devices (iOS 7 or better) or double tap the home button (quickly) and swipe the bottom row of apps to the right to reveal the playback controls, tap the AirPlay icon and select your Apple TV from the list of available devices (pre-iOS7)

  • How to get all rows that are returned in inner sub query of select statemen

    If a sub query in select statement returns more than one row than how to get all those returned rows in the final
    output of the query .It will be all right if all column's value repeat and that multiple output of inner query comes
    in another column .
    How to get that ?

    As Frank said, you likely want a join, and likely an outer join to replicate the select in the projection. Something like:
    SELECT id,stat, section, USER_ID concerned_person
    FROM table_all,
      left join table2
        on room_id = sectoion and
           sur_role = 'r001'
    WHERE section IN (SELECT code
                      FROM t_area
                      WHERE dept= 'p002')An alternative, depending on where and how you are using the statement would be something like:
    SQL> WITH t AS (
      2    select 1 id from dual union all
      3    select 2 id from dual),
      4  t1 as (
      5    select 1 id, 'One' descr from dual union all
      6    select 1, 'Un' from dual union all
      7    select 1, 'Une' from dual)
      8  SELECT t.id, CURSOR(SELECT t1.id, t1.descr from t1
      9                      WHERE t1.id = t.id)
    10  FROM t;
                      ID CURSOR(SELECTT1.ID,T
                       1 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
                      ID DESCR
                       1 One
                       1 Un
                       1 Une
                       2 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    no rows selectedJohn

  • How to get back windows that are off screen?

    I use my macbook at work with one attached display, and then at home with a different attached display. The two extra displays are different sizes. A lot of times when I plug it into the smaller of the two displays, some of the windows come up off screen and I can't figure out how to drag them back on. For example now I have a Microsoft Word window where the bottom half is on the screen, and the top half is up above the top of the screen. The only way I know to move a window is to grab the top edge and drag it, but the top edge is off the screen so I can't do that.
    Also sometimes a window is bigger than the screen height, and the only way I know to make it smaller is to drag the bottom right corner, but the bottom right corner is off the screen and the window height is bigger than the monitor height.
    Is there a way to get these windows back all the way onto the screen? Thanks.

    This is one of the most serious flaws of the Macintosh, and in many instances there is just NO answer. You could resort to writing a script using the Script Editor, but this seems a tough way to get round what is essentially a bug in the OS - it has been there for over 20 years and I don't think Apple are about to realise that the age of multiple screens and changing screen sizes is here NOW and it is time to change so we can resize from any border like all other modern OSs.
    If you want to try the script approach - try this link for help:
    http://www.transparen.com/macintosh-technical-support-group/window-offscreen

  • I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !

    I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !
    I also tried resetting settings all to no avail ...I looked up some advice and watched utube video advice on how to fix without success..
    The volume control button on side does not work ,I got the iPad last August and wonder if it is a fault that means I must return it for replacement from where it was purchased ?

    The Retrospect you used way back when is no longer around. The company was sold and that company produced a new version of Retrospect - Retrospect 8.x
    So, as you've been told, you would have to be running a Tiger system with an old version of Retrospect software (5.x or 6.x - you would need to know) assuming you can find the software.
    As best I can remember you cannot extract files from a Retrospect backup except using the software since Retrospect did not normally make a file by file backup rather it created an archive of the files in the backup. I'm assuming that the EMC/Retrospect people have told you that old Retrospect backups are not accessible by Retrospect 8.x?

  • How to get a field that using variable in order to create a query

    Hi,
    I found a difficulty when creating a query. so, I would like to ask you some question.
    1. How to get a field that using variable which that field I want to put it in my query?
    For example, I would like to take quantity field in inventory audit report. And when I put my cursor in
    quantity field, there was only variable, item, etc. How to get this and put it in query?
    2. How to combined the invoice quantity with inventory audit report quantity?
    3. I have a query like this:
    SELECT distinct T0.[DocDate] as 'Tanggal', T0.[DocNum] as 'No.Faktur', T1.[ItemCode] as 'Kode Barang',
    T1.[Dscription] as 'Deskripsi', T1.[Quantity] as 'Quantity', ((T1.[LineTotal])/(T1.[Quantity])) as 'Harga
    Satuan', T1.[LineTotal] as 'Harga Total', T3.[CalcPrice] as 'HPP Satuan', ((T3.[CalcPrice]) * (T1.
    [Quantity])) as 'HPP Total', T4.[ItmsGrpNam] as 'Jenis Barang', T5.[SlpName] as 'Nama Sales', T1.
    [WhsCode] as 'Kode Gudang' FROM [dbo].[OINV] T0 INNER JOIN [dbo].[INV1] T1 ON T0.DocEntry =
    T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OINM T3 ON T2.ItemCode
    = T3.ItemCode INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod INNER JOIN OSLP T5 ON
    T0.SlpCode = T5.SlpCode WHERE T3.[TransType] = '13' and T3.[CreatedBy] = T1.[DocEntry] and T0.
    [DocDate] >=[%0] and T0.[DocDate] <=[%1] and T4.[ItmsGrpNam] =[%2] and T1.[WhsCode] =[%3]
    Is it possible if I just take one invoice with invoice quantity and only show up at once although I have a
    lot item cost for that item? (because I'm using FIFOmethod).
    Please help me.. cause I'm stuck with this thing :l.
    Thank you very much, and I'm waiting your respon soon.
    Regards,
    Sisca

    Try this one:
    SELECT distinct T0.DocDate as 'Tanggal', T0.DocNum as 'No.Faktur', T1.ItemCode as 'Kode Barang',
    T1.Dscription as 'Deskripsi', T1.Quantity as 'Quantity', ((T1.LineTotal)/(T1.Quantity)) as 'Harga
    Satuan', T1.LineTotal as 'Harga Total', T3.CalcPrice as 'HPP Satuan', ((T3.CalcPrice) * (T1.
    Quantity)) as 'HPP Total', T4.ItmsGrpNam as 'Jenis Barang', T5.SlpName as 'Nama Sales', T1.
    WhsCode as 'Kode Gudang'
    FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON T0.DocEntry =T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OINM T3 ON T2.ItemCode = T3.ItemCode AND T3.TransType = '13' and T3.CreatedBy = T1.DocEntry AND T3.Warehouse = T1.WhsCode
    INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
    INNER JOIN OSLP T5 ON T0.SlpCode = T5.SlpCode
    WHERE T0.DocDate >=[%0\] and T0.DocDate <=[%1\] and T4.ItmsGrpNam =[%2\] and T1.WhsCode =[%3\]
    Thanks,
    Gordon

  • I updated to ios8 and tried to use Health Application. In Sources I get a message that other applications will show up on the list as they request permission to update your data. How does it happen? No apps are listed on my Sources section

    I updated to ios8 and tried to use Health Application. In Sources I get a message that other applications will show up on the list as they request permission to update your data. How does it happen? No apps are listed on my Sources section

    I have an answer to my question. There is a bug in IOS8 that prevents third party applications to talk to the Health Application. Apple is trying to fix it ASAP

  • On my own website vdha.us, I am now getting many words that are purple and when you mouse over them, a new spamming window opens trying to sell something. IE-9 does not do this. How do I turn this off in firefox?

    Sirs,
    The below URL came up immediately when I tried to access our Newfangled website this morning http://vdha.us :
    http://surveyprizecenter.com/survey/claimgift-GT-kw-7b.php?t202kw=Vdha.us&trimmedKeyword=Vdha.us
    I prefer to use Firefox and very seldom use IE-9. but now I might be forced to remove Firefox 4.0.1 and resort to using IE-9 because of this situation.
    I don’t know how spammers can use our website to exploit their spamming, but I can only imagine the complaints I am going to get from our Board of Directors and members about this.
    Can you make them stop, or at least explain how it is that anyone can do this without our permission.
    We have never allowed advertisement on our website and don’t plan on starting now.
    I am now also getting many words that are purple with two lines under them, and when you mouse over them, a new spamming window opens automatically trying to sell something. How do I turn this off?
    I would appreciate any expediency in the return of an answer that you can provide.
    Kindest Regards,
    Dave Broeker
    VDHA Life Member #1797
    VDHA Webmaster & BX Manager
    http://vdha.us

    The "MySearchDial" app needs to be removed in 4 places.
    1) Go to "add / remove programs" in your windows control panel select mysearchdial and remove it.
    2) Open your Firefox browser then click the Firefox tab at the top left and select options. You will need to change the start page settings back to your preferred start page.
    3) Again under the Firefox tab select "add-ons". In the add-ons manager you will need to remove mysearchdial from both "plugins" and "extensions"
    4) In your search bar (top right of address bar" use the drop down menu and select "manage search engines". You can restore your preferred search engine and remove mysearchdial from the menu.
    This should remove all the components of the nuisance hijacker and restore your browser back to your preferred settings. If you are comfortable with a more in depth removal I would also suggest going to your "programs" folder within the "C" drive of your machine and deleting the "MySearchDial" folder altogether. However, only do this AFTER you have uninstalled it from your system and if you are familiar with this type of removal.

  • HT5035 I will like to know how to get the money that i have in my  Itunes acc to get it off and buy a cd with it

    I will like to know how to get the money that i have in my itunes acc how to used it up to buy a cd with it

    LatachaM_VZW wrote:
    If the incorrect PIN code is entered too many times, a PIN Unlock Key must be obtained from Verizon Wireless at 908-559-4899 if you are outside of the United States and 800-922-0204 or *611(send) from your mobile number inside the United States..
    The SIM PIN option is only available when the handset is in GSM / UMTS mode. Refer to Network Mode Setting for further assistance.
    Thank you, LatachaM_VZW
    Are you talking about the PUK code (when the PIN for the SIM has been wrong too many times)?  The OP is talking about network unlock, and is using a foreign SIM.   Global Services certainly wouldn't have the unlock code for a SIM that isn't theirs.
    I have heard that if you do enter the incorrect network unlock code too many times, the phone becomes permanently locked (i..e cannot be unlocked even with a valid unlock code) but not everyone agrees that this is true for all phones.
    Jax's post above really says it all, you will need to search the web for a service that will unlock this Motorola phone.  In doing so, you might find a number of threads that say the Global has to be activated in the US before an unlock code will work.  Others were able to unlock without this. 

  • How do you deauthorize computers that are no longer functional?

    How do you deauthorize computers that are no longer functional?

    i followed the directions to deauthorize one "fried" computer and one old Windows laptop i no longer use from my new MacBook Pro.  When i go into iTunes on my new MacBook Pro, however, iTunes says i still have 5 authorized computers and i can't set up my music on my laptop using iTunes Match.  I did not deauthorize all my computers because i still have an iphone and two ipads.  Now that i've invoked deauthorize, what am i supposed to do for the next 12 months until i can deauthorize again?

  • How to get nested table meta data

    how to get nested table column name, column type and column size
    by using java. i need code for this.
    please help me.

    The Follopwing program does display the the details of table. Hope you get the solution
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.Statement;
    public class Main {
      public static void main(String[] args) throws Exception {
        Connection conn = getOracleConnection();
        System.out.println("Got Connection.");
        Statement st = conn.createStatement();
        st = conn.createStatement();
        ResultSet rs = st.executeQuery("SELECT * FROM SCHEDULE_SET");
        ResultSetMetaData rsMetaData = rs.getMetaData();
        int numberOfColumns = rsMetaData.getColumnCount();
        System.out.println("resultSet MetaData column Count=" + numberOfColumns);
        for (int i = 1; i <= numberOfColumns; i++) {
          System.out.println("column MetaData ");
          System.out.println("column number " + i);
          // indicates the designated column's normal maximum width in
          // characters
          System.out.println(rsMetaData.getColumnDisplaySize(i));
          // gets the designated column's suggested title
          // for use in printouts and displays.
          System.out.println(rsMetaData.getColumnLabel(i));
          // get the designated column's name.
          System.out.println(rsMetaData.getColumnName(i));
          // get the designated column's SQL type.
          System.out.println(rsMetaData.getColumnType(i));
          // get the designated column's SQL type name.
          System.out.println(rsMetaData.getColumnTypeName(i));
          // get the designated column's class name.
          System.out.println(rsMetaData.getColumnClassName(i));
          // get the designated column's table name.
          System.out.println(rsMetaData.getTableName(i));
          // get the designated column's number of decimal digits.
          System.out.println(rsMetaData.getPrecision(i));
          // gets the designated column's number of
          // digits to right of the decimal point.
          System.out.println(rsMetaData.getScale(i));
          // indicates whether the designated column is
          // automatically numbered, thus read-only.
          System.out.println(rsMetaData.isAutoIncrement(i));
          // indicates whether the designated column is a cash value.
          System.out.println(rsMetaData.isCurrency(i));
          // indicates whether a write on the designated
          // column will succeed.
          System.out.println(rsMetaData.isWritable(i));
          // indicates whether a write on the designated
          // column will definitely succeed.
          System.out.println(rsMetaData.isDefinitelyWritable(i));
          // indicates the nullability of values
          // in the designated column.
          System.out.println(rsMetaData.isNullable(i));
          // Indicates whether the designated column
          // is definitely not writable.
          System.out.println(rsMetaData.isReadOnly(i));
          // Indicates whether a column's case matters
          // in the designated column.
          System.out.println(rsMetaData.isCaseSensitive(i));
          // Indicates whether a column's case matters
          // in the designated column.
          System.out.println(rsMetaData.isSearchable(i));
          // indicates whether values in the designated
          // column are signed numbers.
          System.out.println(rsMetaData.isSigned(i));
          // Gets the designated column's table's catalog name.
          System.out.println(rsMetaData.getCatalogName(i));
          // Gets the designated column's table's schema name.
          System.out.println(rsMetaData.getSchemaName(i));
        st.close();
        conn.close();
      public static Connection getOracleConnection() throws Exception {
        String driver = "oracle.jdbc.driver.OracleDriver";
        String url = "jdbc:oracle:thin:@son15644:1521:CXPqa1";
        String username = "ess4qa2";
        String password = "ess4qa2pw";
        Class.forName(driver); // load Oracle driver
        Connection conn = DriverManager.getConnection(url, username, password);
        return conn;
    }

  • How to get a Timestamp that is 2 weeks ago?

    Hi,
    How to get a Timestamp that is 2 weeks before the current timestamp?
    Using either Timestamp or java.sql.Date.
    Thanks.

    You don't use either of those to do calendar arithmetic. You use java.util.Calendar and GregorianCalendar instead. Here's a fragment that should get you started:Calendar c = new GregorianCalendar();
    c.add(Calendar.DATE, -14);
    Timestamp = new Timestamp(c.getTime().getTime());

  • When I copy a CD onto my macbook pro I sometimes get several songs that are "out" of the album.  How do I get them all together in one album?  Any help will be much appreciated!

    When I copy a CD onto my macbook pro I sometimes get several songs that are "out" of the album.  How do I get them all together in one album?  Any help will be much appreciated as I cannot seem to find the solution to this problem in the troubleshooting section of iTunes.

    Generally all you need do is give tracks from the same album a common Album Artist. See Grouping tracks into albums. The images need an update but the basic info. still holds.
    tt2

  • HT1727 My old computer died on me with no warning signs. I didn't know or need to copy my music to another computer. I would like to know how to get the music that I bought onto my new computer without having to buy it all again.

    My old computer died on me with no warning signs. I didn't know or need to copy my music to another computer. I would like to know how to get the music that I bought onto my new computer without having to buy it all again. I just want to be able to get all of my music that I bought on itunes onto my computer. Right now the money ive spent is just gone and I have no music to show for it.

    Go to the iTunes Store and select "Purchased" from the Quick Links side bar on the right. Go through all the tabs to download again for free

  • How to get PDF file that has been transformed into docx into my filing system so I can work on it???

    How can I get the PDF file that was transformed into a docx file into my filing system to be able to work on it and translate it as the customer requested?

    THanks for your reply.
    Well what happens is I bought the program. It gives you a button to click,
    you log in and then a box opens up asking you to select the file, I go into
    my filing system (in Windows explorer) select the file, and the program
    converts it into docx, my choice.  I can read it there and when I try to
    copy and paste it into my file where the PDF version is saved, it behaves
    like an "image", and I can't save it.... or it saves likes something you
    save on the internet, so you have to go into internet every time you want
    to see it.    I have also pressed any amount of buttons to see if it will
    give me the option to save it any other way, and have found nothing.  What
    I would need is a file in docx.format that I can edit.  People send me
    things in PDF and sometimes I can just copy it off the PDF file and save it
    in WOrd, then I can translate it for them. But sometimes the PDF file
    doesnt allow me to copy the text.  If it is in image form, I cannot work on
    it.  It means printing it, so I can copy type it into Word... and for that
    I certainly wouldnt need to buy a program.  Its just double the work and
    ends up that the job takes twice as long.!
    Sorry  if I am a bit dumb with informatics.  But I simply could not find
    any way whatever to  copy the PDF file that was transformed into Word, in a
    format that would enable me to edit it.
    Kindest regards,
    Margery
    2013/12/2 Test Screen Name <[email protected]>
        Re: How to get PDF file that has been transformed into docx into my
    filing system so I can work on it???
    created by Test Screen Name<http://forums.adobe.com/people/TestScreenName>in *Adobe
    ExportPDF* - View the full discussion<http://forums.adobe.com/message/5890871#5890871

Maybe you are looking for