Get all users and their EmailIDs of a group of database

Hi all

I use LC 8.2.  My requirement is like I need to send e-mail to all members of a particular group.  I don't want to hardcode an ID by e-mail.

I think in the workbench, there is no way to get all Member of a particular group email IDS (if so please let me know).  So I think that the best approach is to get the data from the database.

I wrote a query that is able to get the ID of the database mail, but the thing is that I'm not able to restrict it to a particular group; as I'm not finding any table with the name of group to a string format.  Please help in the execution of the query.

Select lcuser.canonicalname, lcuser.email
from edcprincipalentity as lcuser, EDCPRINCIPALGRPCTMNTENTI as lcgroup
where lcuser.id = lcgroup.refchildprincipalid

Thank you

Deepak

Hello

Group ID stored in DB in this format - CD4B792D - 06-CA - 6A 82-416 a-7C1758B0F839. You can directly put this id to the query.

It comes to query for data capture by group name:

SELECT prin.COMMONNAME, ROM. EMAIL FROM EDCPRINCIPALENTITY prin
INNER JOIN EDCPRINCIPALGRPCTMNTENTI ON prin.id = GR REFCHILDPRINCIPALID gr

AND genetic resources. REFPARENTPRINCIPALID = (SELECT prinGr.id from EDCPRINCIPALENTITY prinGr where pringr.commonname = 'group name');

Best regards

Tags: Adobe LiveCycle

Similar Questions

  • SQL for extracting industries, users and their reports?

    Hello

    I could get in sql, users and their reports or business sectors and their users, but I can't recover the business sectors, users and reports in the same sql.

    I searched in the tables of eul without success. I guess someone has already done?

    Thank you

    Hello

    The problem you have is that you try to mix items that don't go together.

    As you have already determined, you can have a script for users to query with access to business areas, and you can also have a script for queries users who access or own reports. However there is no link between the districts and business reports.

    Discoverer reports are validated against the records, not business districts. If a report uses 2 files and there are 10 industries that contain these files what industry do you that the report has been written against? The answer is none of them. You just happened to have a business district that is open at the time the drafting of the report, but frankly you might have used an any of them. Therefore, if a user opens a workbook that uses the files found in several business sectors, discoverer by default to the first business district name that contains all the files used and the user has access to.

    Hope this helps

    Best wishes

    Michael

  • Unique firefox profile all users and profiles on networks

    I am trying to configure Firefox like standard browser for an entire building, and this framework is to ensure that all firefox profiles are registered readers personal network rather than local machines. I can use the Profile Manager to do this on a user base, but what happens if I want that all users of any machine, using the same firefox profile that points to a specific network drive? (This will ensure users always have their browser settings and no matter where they go, allow us to move outside machines without losing all the browser settings, etc..) The contents of this drive is specific to the user account, but still have the same way.)

    As far as I know, the profiles created in the Profile Manager are specific to each user (domain), which would mean a lot of creating manual profile. Is it possible to ensure that Firefox always uses a specific profile of Firefox or the path? Is it possible to have the control of firefox profiles exist (in a .bat file, for example), so I can create the appropriate injector if necessary? Can I use a command line to set the profile to be used by default, or that can be done from the GUI Profile Manager?

    Finally and this can justify a separate query, but I found that when you use profiles that link to a network drive, trying to open firefox on multiple computers will fail (another instance of firefox is open, close it or restart). I can tell Firefox to force the old instance closed, or I have to firefox.exe - no-remote 'differentProfile' Pei each time?

    We are on Windows 7, moreover, for the sake of references.

    Sort of. I don't always have a perfect method to check the presence of a profile, but as a solution, I'm looking in the drive location of my custom profile for prefs.js Server (IF EXISTS 'path\path\Firefox\prefs.js' (thing do)), and that will at least tell me if I have created something here or not.

  • In XP Documents and Settings, are files under Admin, default user, all users, and duplicate files etc?

    I see in Windows XP under Documents and Settings administrator, all users, default user and owner records. This is a duplication of files? I'm trying to clean up my hard drive and I would like to have just a structure, such as the owner or the administrator. Can I get rid of all the others and save a workspace of dick? How do I do that?

    * original title - more disk space? *

    N ° don't get rid of one of these data structures, or later, you'll be sorry.

    For everyday use, you should use the profile of 'owner '.  All your documents, music, images and other data must be different subdirectories to the title of owner.

    The administrator is a built-in account for emergency use administrator privileges (for example, if your daily profile becomes corrupted).  Probably, you don't see administrator on the Welcome screen.

    Every user is an account that is used to share data between different users.  If there is only a single user defined on your computer, there should be very little in every user account in the "My Documents" of this profile part, but some applications that you have installed may have placed hidden files in different folders in the profile all users.

    Default user is a model that is used to create new user profiles.

    If you are interested in which is placed on your hard drive, download and run JDiskReport.

    If you fear that you progress low hard drive space, there are a few things you can do, but all of them are essentially temporary measures.  If you're really under out of space on your hard drive, you can buy a bigger hard drive.

    Run Disk Cleanup (start > run > cleanmgr.exe > OK)
    Adjust system restore space
    Disable the Indexing Service
    Uninstall the applications that you use is no longer

  • Left custom catalog location for assessable catalogues to all users and can not find catalog.pse13db

    I upgraded from PSE6 to PSE13.  PSE6 on my old computer and PSE13 on my new computer.  I did a backup of the catalog PSE6 on an external drive.  Then I restored the catalogue PSE6 to my external hard drive at a location on my new hard drive and made my conversion catalogue 13.  I got a new catalog name is-1 extension in the location custom in my Catalog Manager.  I then left the new catalogue - 1 "custom location" to "Catalogs available to all users" because I didn't know that he was wrong in this catalogue.  When I moved the catalog "Catalogs available to all users" I have lost my catalog.pse13db file.  He is no longer on my hard drive.  It was not on my external drive is (I thought it would be there but checked even when not).  Why my pse13db disappeared and where at - it go?  There must be somewhere on the closing and reopening of PSE13 I'm able to open my new catalog-1 'catalogues available to all users "?  I don't think I'd be able to do unless he has been pulling the catalog.pse13db?

    By default, the default location for the catalogues (available to all users) is a "hidden" in Windows Explorer folder. To be able to see the 'catalog.pse13db' file in the catalog folder, you must set Windows Explorer to show hidden folders and files.

    https://support.Microsoft.com/en-us/help/14201/Windows-show-hidden-files

  • ORA-01017: name of user and password invalid. logon denied in the database of 12 c

    Hello


    I have created the new user in PDB 12 c and granted \n(Assurez-vous also,

    but I coudnt able to connect to this user.

    Please suggest me.

    The steps that I did.

    SQL > alter session set container = TESTPDB1;

    Modified session.

    SQL > create user test1 identified by welcome;

    Created by the user.

    SQL > grant connect, resources to test1;

    Grant succeeded.

    SQL > validation

    2;

    Validation complete.


    SQL > conn test1/welcome.

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    WARNING: You are more connected to ORACLE.


    Concerning

    Kumar V


    Dear all,

    The problem has been solved now.

    12 c database, we could not able to connect the local user database of snap-in.

    You need to connect users as below,

    [oracle@dg admin] $ sqlplus sys/welcome@PDBDEV as sysdba

    SQL * more: Production of the 12.1.0.2.0 version Thu Apr 16 12:56:38 2015

    Copyright (c) 1982, 2014, Oracle.  All rights reserved.

    Connected to:

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    SQL > show con_name;

    CON_NAME

    ------------------------------

    PDBDEV

    SQL > create user kumar identified by kumar;

    Created by the user.

    SQL > grant connect, kumar resources;

    Grant succeeded.

    SQL > commit;

    Validation complete.

    SQL > conn kumar/kumar;

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    WARNING: You are more connected to ORACLE.

    SQL > conn sys as sysdba

    Enter the password:

    Connected.

    SQL > show con_name;

    CON_NAME

    ------------------------------

    CBD$ ROOT

    SQL > conn kumar/kumar@PDBDEV

    Connected.

    SQL > show con_name;

    CON_NAME

    ------------------------------

    PDBDEV

    SQL > show user;

    The USER is 'KUMAR '.

    Thanks for the suggestions.

    Concerning

    Kumar

  • I want to merge 2 Thunderbird profiles into one, if I get all emails and address book.

    I got a new PC and installed Thunderbird on it on 1 April and sent e-mails again. Then, I went back to the old PC and did a full back up all of my book e-mail and address. When I installed the back upward on the new PC I don't see new emails as well as the 'old' or the address book. How to merge back to the top with the current data so I see all of my old and new emails and two address books?

    Using a Pop or IMAP e-mail account?

    Re "made a full to the top of all my email and address book."
    How did you do that? Have you used "Mozbackup" tool to copy the entire profile or have you the emails to export as .eml files using ImportExporttool addon or manually save as .eml files? Or manually you the profile folder, then the Mail folder, then mail the account name and then copied all the files? Please explain.

    Did you export address books or access the profile folder and copy the .mab files? Are - what you are talking about "Personal address book" and "Collected addresses" or others that you have created?

    Currently, what do you see? Can you only see the old imported stuff or only new emails?

    How many profiles you have in the folder Profiles? You have more than one?
    A default profile name will be letters and numbers, for example: abc1d234.default and usually located here:
    C:\Users\UserName\AppData\Roaming\Thunderbird\Profiles\

    How to move to a new PC: http://kb.mozillazine.org/Move_to_a_new_PC

    If you have a profile and emails only you see are new emails, then ImportExport addon for backup/backup tool use these emails as .eml files and save them in the new folder on the desktop.

    ImportExporttool: https://freeshell.de//~kaosmos/mboximport-en.html

    Then on the old computer, install the Mozbackup tool and use it to backup the entire profile.

    Copy the file *.pcv on the desktop on the new computer.
    Install Mozbackup on new computer and use it to restore the old profile on new computer. Then use ImportExporttool to get stored in Thunderbird .eml files.

    Re: address books:
    http://KB.mozillazine.org/Moving_address_books_between_profiles

    MozBackup tool should move the default address books, but the other address books can must be exported in form of files LDIF or .csv files and then imported into the new profile on the new computer.

  • Get all users of virtual machines

    I have an environment where users get added and removed from the VMs quite frequently and I was looking for a way to get a list of what users are assigned to which VMS, preferably in csv or other delimited format that I can use for import into another program or a spreadsheet to help in the followed this and I think I can use PowerCLI for this , but for the life of me cannot figure out how. Here's a quick example and dirty that I would like to reach:

    VMName, username, role

    VM1, TestUser, Tester

    VM1, TestUser2, supervisor

    VM2, TestUser2, Tester

    VM2, TestUser3, analyst

    Any thoughts?

    Try this maybe

    $report = @()
    foreach($vm in Get-VM){
         Get-VIPermission -Entity $vm | %{
              $row = "" | Select VMName,Username,Role
              $row.VMName = $vm.Name
              $row.Username = $_.Principal
              $row.Role = $_.Role
              $report += $row
         }
    }
    $repor | Export-Csv "C:\VM-roles.csv" -NoTypeInformationt
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • The screen of my HP pavilion gets all grainy and psychedelic research. Is it software or hardware

    the computer is a pavilion dv7

    So we know that this is the connector on the motherboard back to the screen. It could be the cable has been pinched or crushed, but moving the screen back and fourth usually changes the display if it is the problem (the exception is if a thread has completed severed).  The inverter blackens usually just the screen when it fails. This leaves us with the screen is probably bad.  Try laptopscreens.com.  They have videos on how to replace the screens and I believe they offer a service installation.  If your laptop is still under warranty, contact HP customer care and try to get a replacement or repair order.

  • Difference between built in Admin users and assigned to the Administrators group.

    I'm trying to use a printer on Remote Desktop Services OPOS driver.  My computer is Windows 7 and Server 2008 R2 64-bit.

    If I remote as the built in Admin, driver utility works correctly.  IF I log in as a user assigned to the Admin group I have error claim OPOS.

    I tried to copy the user information in the case where the user data has been corrupted.

    Can you please explain, shed some light on how and why w/Admin user rights do not work on the opos utility.

    The hidden administrator account does not have the UAC filtered token as other accounts admin "a programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • user and password for the connection with the database command

    Hello

    I need to connect to the control of the database but I do not know the password for sys and system users, please, could someone tell me the password?

    Concerning

    need to order prompt (windows)

    cmd > set ORACLE_SID = 'database_name '.
    cmd > sqlplus "/ as sysdba".
    sqlplus > alter user username identified by password;

    You can change any user password by above the command using sys as sysdba or / as sysdba.

  • Stored procedure to get the Admin users and other users

    Hey,.

    I am new to stored procedures in Oracle and would really appreciate the help! I have two tables:

    _ Of the users
    ID USERNAME - PARENT_GROUP - IS_ADMIN
    ---------------------------------------
    1 jsmith - 1-0
    brogerson 2-1 - 1
    3 jloren - 2-0

    Groups
    ID - GROUPNAME
    -----------------------------------------
    1 - ITUsers
    2 - AcctUsers

    I would like to create a procedure that accepts a users username and returns all users in their group and the user id, or if the user is marked IS_ADMIN, I want that procedure to return all of the users in all groups.

    How can I do this? Ideally, I would like the result of the funnel in a DataGridView in c#.

    Thank you in advance,

    Jeffrey Kevin Pry

    Published by: jeffrey.pry on May 10, 2010 10:42

    Published by: jeffrey.pry on May 10, 2010 10:43

    Hi, Jeffrey.

    You can create a view with two copies of the users table: one for the parameter (the original user, you intend to provide run-time) and one for all users in the two
    (a) in the same Department, or,
    (b) any Department, if the user is an administrator

    CREATE OR REPLACE VIEW  p_users
    AS
    SELECT       u.*
    ,       g.groupname
    ,       pu.username   AS p_username
    FROM       users          pu
    JOIN       groups     g     ON     pu.parent_group     = g.id
                          OR     pu.is_admin     = 1
    JOIN       users          u     ON     u.parent_group     = g.id
    ;
    

    You can use the view like this:

    SELECT       *
    FROM       p_users
    WHERE       p_username     = 'jsmith'
    ;
    

    The above query returns all users in Group 1, because jsith is in Group 1, but is not an administrator.
    Change 'jsmith' to 'brogerson' and you get everybody, because brogerson is an administrator.

    This assumes that each user is member of a group.

    If you create a namespace SYS_CONTEXT to contain the parameter (the target user name), then you could build the setting in the view:

    CREATE OR REPLACE VIEW  p_users
    AS
    SELECT       u.*
    ,       g.groupname
    ,       pu.username   AS p_username
    FROM       users          pu
    JOIN       groups     g     ON     pu.parent_group     = g.id
                          OR     pu.is_admin     = 1
    JOIN       users          u     ON     u.parent_group     = g.id
    WHERE       pu.username     = SYS_CONTEXT ('MY_APP_CONTEXT', 'USERNAME')
    ;
    

    and you wouldn't need a WHERE clause when you query p_users.

    Published by: Frank Kulash, 10 May 2010 15:28

  • Groups, users, and Provisioning information Migration using LCM

    Hi all

    I need to migrate groups, users and their configuration information from one application to another application with dev server itself. Can someone tell me how can I do this using LCM. I'm getting confused in the options available under applications-> Foundation groups-> Shared Services in LCM.
    There are many options available as the native directory
    Groups a) (b) users) c d) Native directory roles->-> assigned roles planning-> "App name".

    So, what options to choose to migrate groups, users and their configuration information.

    2ndly the application names are different because they are on the same server. In what files I need to change the name of the application (files will be created just by making export FCL like Group.csv etc)

    I'm working on 11.1.1.3 version. My requests are classic planning apps.

    Thank you
    Ashu

    It is possible to copy the provision by right-clicking a Shared Services planning application and select "Copy Provisioning" and then select the application to copy the commissioning to.

    If you want to do through LCM > Foundation > Shared Services > native Directory > planning > PlanningAppName

    ExportSecurity/ImportSecurity planning utilities are only for export/import of planning permissions.
    This can be done using LCM > select the planning application > Security > access permissions

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Use of the BAT file - how do you completely remove 150 phones and their associated DNs?

    How do you remove completely 150 phones and their associated DNs? All phones are in the same pool of device. I prefer the way bat.

    The CUCM version: 8.6.2

    Type of phones: 7962 phones - associated with the same device pool.

    Other questions: is there a way to remove all phones and their associated DNs with elegance when all phones are associated with the same mass of device? I rather not work with extensions and MAC addresses.

    Thank you

    Hug Lupas

    Hello hug,

    Using the BAT, it will take 2 - passes. 1 for unassigned phones and 1 for "DN". This is well illustrated in the attached doc;

    http://www.Cisco.com/c/en/us/TD/docs/voice_ip_comm/CUCM/bat/8_0_1/bat-80...

    Of course for the DN you could remove through the road map report > unassigned DN > select all > delete

    See you soon!

    SoC

  • How to export users and groups Active Directory of hyperion shared services

    Hello

    We are on 11.1.2.3 and in a situation where we need to export all users and groups of shared services, including the native directory and Active Directory users and groups.


    Current method of LCM export only the NativeDirectory user and groups. -is this correct?


    Is there a way to export all users and groups including NativeDirectory and ActiveDirectory?


    Please suggest.


    Thank you

    I don't think that there is a way to make the groups and users to the AD, and I wouldn't.

    You need to connect the next AD system and pull on the users and groups in this way.

Maybe you are looking for