How do I query on available groups?

Hi all,
We are working on a front-end to create users, rather than using the user administration form. We would like to create a dynamic list if our groups on a form, but we do not know where to get the list of groups from. We are on APEX 4.1.
Thanks

Well, if I understand your question right, I think you're looking for these views:
APEX_WORKSPACE_GROUPS
APEX_WORKSPACE_GROUP_USERS
I used this SQL to find them:
select *
from apex_dictionary
where column_id = 0
and apex_view_name like '%GROUP%'
Thanks
-Jorge
http://rimblas.com/blog/

Similar Messages

  • Need to Query Local Admin Group

    I wrote (copied) some PowerShell code that will add a Domain User to the Local Admin Group using ADSI.  
    $GuestPC = "WinNT://DOMAIN/UserName,user"
    $AdminGroup = [ADSI]("WinNT://"+$env:COMPUTERNAME+"/administrators,group")
    $AdminGroup.add($GuestPC)
    I want to add an If - Else statement to check if the Domain User is already in the Administrators group.  
    I found this code:
    $members = @($AdminGroup.psbase.Invoke("Members"))
    $members | foreach {$_.GetType().InvokeMember("Name", 'GetProperty', $null, $_, $null)}
    This code actually lists the members of the Administrators Group.  Maybe its early or I did not get enough sleep, but I cannot figure out how to just query the Administators group for $GuestPC and if it is there don't do anything, but if it is not there
    add it using the above code.  
    Something easy for someone out there I hope?
    Matt
    Matt Dillon

    Finally found the answer on Google.  Just need to add -cnotcontains "GuestPC" in side a If-Then
    Matt Dillon

  • How can I query all the members of a group using querbuilder?  I cannot find any related properties

    How can I query all the members of a group using querbuilder?  I cannot find any related properties describing members under /home/groups/s/sample_group in jcr repository.

    Hi,
    FieldPoint Explorer is no longer used to configure FieldPoint systems. However, I do not think that the configuring your system in FieldPoint Explorer is causing the error.
    FieldPoint systems are now setup in Measurement and Automation Explorer (MAX).  Information on setting up FieldPoint systems in MAX can be found in the MAX help under: Installed Products>> FieldPoint. Also, I recommend upgrading to the latest FieldPoint driver and version of MAX.  The FieldPoint VI's will be slightly different when you upgrade, so there is a good chance that this will eliminate the error.
    Regards,
    Hal L.

  • How to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster)

    I have a scenario with the three nodes with server 2012 standard, each running an instance of SQL Server 2012 enterprise, participate in a
    single Windows Server Failover Cluster (WSFC) that spans two data centers.
    If the nodes in the primary data center are unavailable due to data center outage. Then how I can able to access node in the WSFC (Windows Server Failover Cluster) in the secondary disaster recovery data center automatically with some script.
    I want to write script that can be able to check primary data center by pinging some IP after every 5 or 10 minutes.
    If that IP is unable to respond then script can be able to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster)
    Can you please guide me for script writing for automatic failover in case of primary datacenter outage?

    please post you question on failover clusters in the cluster forum.  THey will explain how this works and point you at scipts.
    You should also look in the Gallery for cluster management scripts.
    ¯\_(ツ)_/¯

  • How to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster) with scrpiting

    I have a scenario with the three nodes with server 2012 standard, each running an instance of SQL Server 2012 enterprise, participate in a
    single Windows Server Failover Cluster (WSFC) that spans two data centers.
    If the nodes in the primary data center are unavailable due to data center outage. Then how I can able to access node in the WSFC (Windows Server Failover Cluster) in the secondary disaster recovery data center automatically with some script.
    I want to write script that can be able to check primary data center by pinging some IP after every 5 or 10 minutes.
    If that IP is unable to respond then script can be able to Perform Forced Manual Failover of Availability Group (SQL Server) and WSFC (Windows Server Failover Cluster)
    Can you please guide me for script writing for automatic failover in case of primary datacenter outage?

    You are trying to implement manually what should be happening automatically in the cluster. If the primary SQL Server becomes unavailable in the data center, it should fail over to the secondary SQL Server automatically.  Is that not working?
    You also might want to run this configuration by some SQL experts.  I am not a SQL expert, but if you have both hosts in the data center in a cluster, there is no need for replication between those two nodes as they would be accessing
    the database from some form of shared storage.  Then it looks like you are trying to implement Always On to the DR site.  I'm not sure you can mix both types of failover in a single configuration.
    FYI, it would make more sense to establish a file share witness in your DR site instead of placing a third node in the data center for Node Majority quorum.
    . : | : . : | : . tim

  • How do I remove a node from Always on Availability Group in SQL 2012

    Hello I was wondering if anyone could tell me to remove a node from an AOG group in SQL 2012.  We currently have a two node Always on availability group and I need to replace one of the servers.  My plan is to bring the
    new server on to the group then remove the old server and I am having issues finding documentation on this.  Could someone explain how to do this or if it is even possible.
    Thanks

    After the new server is added to the cluster and the AG, remove the old one by first
    ALTER AVAILABILITY GROUP [YourAG]
    REMOVE REPLICA ON N'OldServer';
    Remove a Secondary Replica from an Availability Group
    Then evict the old server from the cluster with the cluster administrator or
    Remove-ClusterNode OldServer
    Remember to verify the quorum configuration after adding the new server and removing the old server.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Availability Group sync - How does it work?

    Hi everyone,
    I am new to SQL Availability Groups and have problems understanding the sync mechanism. I did not find  proper answer on my search.
    I'd like to know how to sync between the databases works. To my understanding there are 2 possibilities.
    1) The listener cares to keep the data synced. Whenever the listener gets a (write) request it sends it to all nodes and in synchronous state it waits for ack.
    2) The sync happens on the database level. The primary node receives the request and sends it to the replicas server.
    Would be nice if someone could shortly explain the correct mechanism to me.
    Thank you.

    Hello,
    The short answer is that the primary sends log blocks to the replicas of the databases in its' group. When they are sent depends on if it's synchronous or asynchronous.
    -Sean
    Sean Gallardy | Blog |
    Twitter

  • How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    If you use the WCF-SQL adapter it is recommend that you set UseAmbientTransaction to true if you are changing data. I think this requires MSDTC to be enabled on the SQL server that you are changing the data on. (http://msdn.microsoft.com/en-us/library/dd787981.aspx)
    I think that Availability groups does not support MSDTC. (http://msdn.microsoft.com/en-us/library/ms366279.aspx).
    How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    Hi,
    Yes, Availability groups doesn't support MSDTC. Please refer to the similar discusison which maybe helpfull:
    http://dba.stackexchange.com/questions/47108/alwayson-ag-dtc-with-failover
    http://stackoverflow.com/questions/17179221/msdtc-in-always-on-availability-groups

  • How to install SSAS Cluster instance with Always On availability group(Standalone database instance) in same windows cluster servers

    We have requirement like to Install the SSAS as Cluster instance where SQL Server Database engine was installed with Always On availability group.Please help me to how configure it
    Currently we have following configuration in Current steup.
    Node1 and Node2 are in windows cluster
    Node1 has SQL Server Database engine Instance1 as Standalone
    Node2 has SQL Server Database engine Instance2 as Standalone
    Instance1 and Instance2 configured for Always On availability group with Listener.
    Now we have to steup SSAS instance with High availibilty. I know we have only option is to install cluster SSAS instance.
    Can some one provide information below.
    1. How to steup Cluster SSAS instance in this servers.
    2. Is this will have any dependancy on exisiting Listner name.
    3. Is this affects the availiblity groups, if SSAS instance failed over to another node.
    Thanks in Advance
    Sriram

    You will need to have SSAS installed as a clustered instance with shared storage. Refer to the whitepaper from this MSDN article
    How To Cluster SQL Server Analysis Services
    Availability Group is in it's own Role/Resource Group. When you create the clustered SSAS, it will create its own Role/Resource Group. This means that it will require its own virtual network name and virtual IP address and will not affect the existing Availability
    Group. You can also have it on the existing Availability Group if you want to. However, you need to decide if you want SSAS to failover with the Availability Group or not. Your design choices will depend on that decision.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • How do I create a query based distibution group in Exchange 2010?

    Hi,
    We have just moved onto exchange 2010 and I wanting to create query based distribution groups based on OU's. As there is now wizard within 2010 I am a little unsure as to how to go about this. I am led to believe I now need a scritp to do this.
    Any help would be greatly appreciated.
    Thanks

    I have tried this and get the following error. Any Ideas?
    Delivery has failed to these recipients or groups:
    All@Doncaster <mailto:IMCEAEX-_O%3DFIRST%2B20ORGANIZATION_OU%3DEXCHANGE%2B20ADMINISTRATIVE%2B20GROUP%2B20%2B28FYDIBOHF23SPDLT%2B29_CN%3DRECIPIENTS_CN%3DAll%[email protected]>
    The email address that you entered couldn't be found. Check the address and try resending the message. If the problem continues, please contact your helpdesk.
    Diagnostic information for administrators:
    Generating server: CRHV03.crhfsg-uk.co.uk
    IMCEAEX-_O=FIRST+20ORGANIZATION_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=[email protected]
    #550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found ##
    Original message headers:
    Received: from CRHV03.crhfsg-uk.co.uk ([fe80::451b:a27f:42cb:f770]) by
     CRHV03.crhfsg-uk.co.uk ([fe80::451b:a27f:42cb:f770%12]) with mapi id
     14.01.0289.001; Fri, 15 Jul 2011 15:24:50 +0100
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: "Smith, Stacey" <[email protected]>
    To: "All@Doncaster" <[email protected]>
    Subject: FW: test
    Thread-Topic: test
    Thread-Index: AcxC+SC29u62U+fVRiGEfoRPRWVvRgAAc31g
    Date: Fri, 15 Jul 2011 15:24:50 +0100
    Message-ID: <[email protected]>
    References: <[email protected]>
    In-Reply-To: <[email protected]>
    Accept-Language: en-GB, en-US
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-Originating-IP: [10.39.1.125]

  • How to write a SQL Query without using group by clause

    Hi,
    Can anyone help me to find out if there is a approach to build a SQL Query without using group by clause.
    Please site an example if is it so,
    Regards

    I hope this example could illuminate danepc on is problem.
    CREATE or replace TYPE MY_ARRAY AS TABLE OF INTEGER
    CREATE OR REPLACE FUNCTION GET_ARR return my_array
    as
         arr my_array;
    begin
         arr := my_array();
         for i in 1..10 loop
              arr.extend;
              arr(i) := i mod 7;
         end loop;
         return arr;
    end;
    select column_value
    from table(get_arr)
    order by column_value;
    select column_value,count(*) occurences
    from table(get_arr)
    group by column_value
    order by column_value;And the output should be something like this:
    SQL> CREATE or replace TYPE MY_ARRAY AS TABLE OF INTEGER
      2  /
    Tipo creato.
    SQL>
    SQL> CREATE OR REPLACE FUNCTION GET_ARR return my_array
      2  as
      3   arr my_array;
      4  begin
      5   arr := my_array();
      6   for i in 1..10 loop
      7    arr.extend;
      8    arr(i) := i mod 7;
      9   end loop;
    10   return arr;
    11  end;
    12  /
    Funzione creata.
    SQL>
    SQL>
    SQL> select column_value
      2  from table(get_arr)
      3  order by column_value;
    COLUMN_VALUE
               0
               1
               1
               2
               2
               3
               3
               4
               5
               6
    Selezionate 10 righe.
    SQL>
    SQL> select column_value,count(*) occurences
      2  from table(get_arr)
      3  group by column_value
      4  order by column_value;
    COLUMN_VALUE OCCURENCES
               0          1
               1          2
               2          2
               3          2
               4          1
               5          1
               6          1
    Selezionate 7 righe.
    SQL> Bye Alessandro

  • How to create Query (Sq01) fro service contract

    hi,
    How to create Query for Service contracts , where i need to take a report for sub line items of that particular Service contract.
    Ex: we maintain short text - services in the initial screen ,
           in the next screen we maintain the sub line items for that short text (Activity numbers).
    Please guide me on this.
    Regards,

    Hi Sowmya,
    1 Create User Group (SQ03)
    Specify the users who should be authorized to run the query.
    2.
    Create Infoset (SQ02)
    Indicates from which part of the SAP database the data is going to be retrieved and how the data is to be retrieved by the query.
    3.
    Create Queries (SQ01)
    Create the query and arrange the layout
    for joining the two tables there should be common field should be available in both the tables then only we can able to join the table and run the query
    or use this below link
    http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm
    Regards,
    Pramod

  • Query OTL using group

    Hi all,
    I'm new in OTL quering...
    In our business, we have create some group in OTL to allow supervisor to enter employee time card.
    For example, a IT Supervisor with employee id 451, has a group named "451-Dept IT", to manage 6 employee time card entry.
    Then an other supervisor of this same department has employee id 857, has a group named "857-Dept IT" to manage the 6 same employee time card entry, because these supervisor are in cross-shift rotation.
    And, we have new supervisor who start job at 10-mar-2013, that replace 857 and has 968 as employee id, and we also create new group "968-Dept IT" to entry It 6 employee time card.
    has you see, the group "857-Dept IT" is not now use, but how to query in OTL to only the available group in particular period or week work day.
    If I have a period like 17-mar-2013 to 23-mar-2013, how to know available group.
    Thanks in advance, hope we help me because i'm turning arround for long time.

    Hi Yacouba,
    Which Responsibility you are accessing? There are 2 seeded reaponsibilities. 1) OTL Limited Time Keeper (The Timekeeper can view his own Group) 2) OTL Super Time Keeper ( The Time Keeper can view all Time Keeper Groups. "OTL Super Time Keeper" responsibility..in the Time Keeper Entry Navigation.. you can view/select any Group that was created using Time Keeper Group. Navigation.
    Regards,
    Siva

  • "how to use Query include one month "

    Hi all expert,
    How to make a request how to add table "QTYSALES one month yesterday"
    so that I can compare with this month.
    Query me this:
    SET ARITHABORT OFF
    SET ANSI_WARNINGS OFF
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand, convert(varchar,SUM(T0.BaseQty*T1.NumInSale)) AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END)))AS 'TURN OVER IN MONTH'
    ,round(convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END))),4)* 30 AS 'Turn Over Days'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE Month(T0.DocDate) = Month(GetDate()) AND Year(T0.DocDate) = Year(GetDate())
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand
    union
    SELECT T1.ItemCode, T1.itemname,T1.OnHand, '' AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,'No Sales' AS 'TURN OVER IN MONTH'
    ,NULL
    FROM DBO.OITM T1
    WHERE T1.ITEMCODE NOT IN (SELECT ISNULL(ITEMCODE,0) FROM INV1)
    GROUP BY T1.ItemCode,T1.itemname,T1.OnHand
    ORDER BY 1
    thanks for all
    Edited by: rachelhel on May 20, 2009 8:06 AM

    haiiii allll pls help...thankss
    Hi consulatant B1
    How to use Query
    My goal is to create a table to see * The number of sales in a month yesterday *
    I want to make a request showing the amount of sales at the end of the month.
    For example this month is on May 25, so I want to show the Quantity of one month April 25
    I have tried several times, but still just wrong.
    I need expert help to solve the problem for me.
    thanks

  • How do i copy and print groups from my address book?

    How do I copy and print groups(with contact information) from address book? I want to copy a group of contacts in list form that ideally I can paste into Excel.

    I'm not sure exactly what you are asking.  If you are coming from pre-Mountain Lion, then Address Book has changed to Contacts.
    Open Contacts.
    Select an Account in the group list, if you want the contact in a specific group. If Groups aren't showing, you can display them from the View menu.
    Click the Add card button ( + ).
    Enter the information for the contact.
    If you need multiple entries for a particular field type, a new blank entry will show up below the one you are adding.
    If you need other fields, use the Card menu to Add a new field type.
    If you want to change the default fields available when you create a new card, choose Edit Template…
    If you have sent emails to someone and you want to get that address to add to a Contact, use the Previous Recipients command in the View menu in Mail.
    If you need to add a new Group, hover the cursor over the account name, and a + button will appear. Click it.

Maybe you are looking for

  • PLEASE HELP ME. 12.1.1 itunes does NOT work for my windows 7 64 bit

    I have read all the tutorials on here and elsewhere online and nothing works. My cousin goes to school for MIS help and she couldnt even figure out whats going on. I HAVE DONE THIS NUMEROUS TIMES! - Made sure my windows had all the necessary updates

  • Error in ECC 6.0 Plz help

    Hello experts, Im trying to install ECC 6.0 SAP NW 2004s SR1, O/s Win Server 2003 R2 EE, 2GB RAM, 320 GB HDD. But in the IMPORT ABAP phase the below error occured and the installation stopped ERROR 2009-12-07 00:28:13 FCO-00011  The step runMigration

  • How to diagnose Acrobat problem

    I've inherited/taken over my precursor's PC, which has FM 10 and CS 5.5 on. So far so good, but it didn't take long to hit a problem: Save as .pdf doesn't work :-{ I just get a couple of seconds' busy cursor, then a sort of bounce as though the entir

  • Reverting to earlier version of code base in CVS

    We are currently using CVS as our version control with WSAD 5.0. Since putting in a release a couple of weeks ago, have had two occasions on which we needed to put in bug fixes. We were able to back track to the tagged version of the code, branch, ap

  • Can't make @-symbol

    Hello, I need your help. I can't make the @-symbol no more with alt 2 + command. Why? For this thread I had to copy-paste the @-symbol. It just stopped working. * I also have to add that for a few weeks ago my keboard and trackpad was non-responsive