Query Builder to find user in connection of unv

Hello
I have a question on checking user in connection. We have recently moved to 4.1 from 3.1. We are usign new ID in our connections in migrated legacy olap universes... but still there are few jobs in our bw ssytem that runs under old 3.1 id.. we want to know which connection is using lets say 'OLDID'.  is that possible to find out.

When testing the "current user" for group memberships, I prefer to do it locally using the user's logon token rather than having to query the directory. This has the advantage of automatically dealing with nested group memberships, and working
with local / builtin groups as well. Something along these lines:
function Test-CurrentUserIsMember
[CmdletBinding()]
param (
[Parameter(Mandatory = $true)]
$Group
$sid = $Group -as [System.Security.Principal.SecurityIdentifier]
if ($null -eq $sid)
$account = $Group
if ($account -isnot [System.Security.Principal.IdentityReference])
$account = [System.Security.Principal.NTAccount][string]$Group
try
$sid = $account.Translate([System.Security.Principal.SecurityIdentifier])
catch
throw "Group '$Group' could not be resolved to a Security Identifier"
return ([System.Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains $sid)
if (Test-CurrentUserIsMember -Group 'DOMAIN1\Group1')
# User is a member of the group (directly, or via nested group memberships.)
Write-Host "Is Member"
else
# User is not a member of the group.
Write-Host "Is Not Member"

Similar Messages

  • Business Objects Query Builder - application server for data connections

    Hi experts,
    I am trying to flush out all instances where we have universes with connections pointed to the wrong application server. I was hoping to use query builder to show me the application server being used for all connections (metadata.dataconnection)
    Is this possible?
    Edited by: Khaled McGonnell on Nov 3, 2010 6:11 PM

    Hi Srinivas,
    I had tried SELECT * already : )
    The application server is the server on which the BI system you are connecting to is located. You have to define this when you create the connection in Universe Designer.
    You can see the application server for "connections if you use the following query:
    select si_server from ci_systemobjects where si_kind = 'Connection'
    However, these are not the connections used by universes. These connections are from logged in users. Any ideas?

  • How to find users sessions connected in (11.1.0.7 & R12.1.1)

    We have 11.1.0.7 configured in our env with E-business suite R 12.1.1 .
    we created different users e.g John , Mark and they are connected through e-business suite application form. But when i query V$session table i dont find these users there.
    Where i can find the status of these connected users ?
    PLease reply

    Usually you start with the Oracle schema that install the application on the database. In my case, I created a schema called QC (quality control) with it own tablespace (QC) - a software from HP. From this schema, I can see all users created via this schame and in the tablepace QC.
    Another trick would be to use all_users table to check for the usernames: select * from all_users;

  • Visual Query Builder

    Hello !
    I am currently trying out the CFBuilder beta on a laptop running MS Windows XP Pro SP3 with 2GB RAM.  I also have the developer edition of Coldfusion 8 installed on that machine running the local server.
    The RDS Viewer appears to be configured correctly and I can see all of the tables for all of the databases I have declared in CF Admin and I can execute SQL statements as well as view the contents of each table but I do not have the button on the RDS Viewer to activate the visual query builder.  Where is the visual query builder ?  The user guide mentions that this should be available but I don't appear to have the button for it and can therefore not use it.
    Is the visual query builer feature missing in this beta ?  Is anyone else having the same problem and what did you do to rectify it ?  What am I doing wrong ?
    I would appreciate some help.
    Thank you.
    Ed

    I meant to add that there is are in fact other Eclipse-based database query tools that one may want to consider for more functionality:
    Eclipse SQL Explorer - http://eclipsesql.sourceforge.net/
    QuantumDB - http://quantum.sourceforge.net/
    I mention these (and other non-Eclipse-based query tools) in my CF411 site category on them, http://www.cf411.com/#query.
    Then, too, there is also a Database Explorer view that comes with Aptana (which is bundled in CFBuilder). You can find it with Window>show view>other>databases. Curiously, unlike the full version in Aptana as described here (http://www.aptana.com/docs/index.php/Database_Explorer), the one in CFB seems limited to connecting only to Derby and SQLLite databases. We can't even provide the JDBC connection string to try to point ot others.
    (And lest one get excited about using the Derby (embedded) option when creating a new connection in that window, that means an embedded derby database embedded in CFBuilder, not one embedded in CF itself. There is the "derby (network)" option, but that will work only if you've set up the network server feature of Derby. For more on those things, see a talk I did on the topic at http://www.carehart.org/presentations/#derby).
    Anyway, I've not yet explored the other two alternatives above. Has anyone else?
    (PS if any of you get the forum feed by email, sorry if what you saw got truncated above. I just learned that if you inadvertantly do "Ctrl-S" while typing in these forums (on the web interface), it automatically saves and POSTs the message. Yikes.)

  • Query Builder error when loading importing certain SQL files

    Using an SQL statement which causes Oracle*Reports 6i to issue "Error loading data constraints" messages, the following error is displayed form the Oracle Query Builder:
    OBE-15952: User privilege table not loaded
    OBE-15950: No Query Builder tables--Database open/save is disabled
    ORA-00942: table or view does not exist
    These are the same errors issues just by launching the Query Builder.
    The database contains multiple virtual databases, called entities, such that we can have multiple, virtual systems sharing some common data between them. Could it be that there are problems with the 'virtual database' entity features?

    hello,
    what database version are you using ? it might be, that query builder does not support the version/features you are using.
    thanks,
    ph.

  • How to build a WEBI query on a SAP NANA OLAP connection?

    hi fellows,
    we all know that a relational connection can be built to SAP HANA database, and we build data foundation, biz layer to publish it to the repository, so that we can create a WEBI report based on a query to visit the universe.
    However, does anybody know how to create a WEBI query on a SAP HANA OLAP connection?  Since we don't need to build any data foundation on it.
    I created a sap hana olap connection, but failed to find anywhere to publish it?  Can anybody help?
    thanks,
    Jennifer

    Hi Jennifer,
    Check SCN thread http://scn.sap.com/thread/3493857.
    Also check below for Creating a SAP Universe on HANA: Best Practics.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00922ede-de2f-2f10-c2aa-f9b0f6495d34?overridelayout=t…
    Regards,
    JC

  • Connection information to use Query Builder

    I am following the Oracle Reports tutorial - how to add data to a report
    http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14364/rwtutorial_data.htm#i1012227
    I am at Step 6: Using the Query Builder.
    I already have the HR sample schema in my (9i) database, and have unlocked it.
    But at the prompt for user name and password and db name, I get this message:
    REP 0501 Unable to connect to the specified database
    ORA 12154 TNS: could not resolve the connect identifier specified.
    For each field I have this information:
    User name : hr
    Password ; hr
    Database : unidad
    This is the same information I use to connect to my database. What am I doing wrong?
    Many thanks.
    DA

    Hello again.
    The entry in the oracle92\network\admin file is
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    UNIDAD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2WIRE777)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = unidad.netcones.com)
    While the entry in the \DevSuiteHome_1\NETWORK is
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2WIRE777)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Do you suggest I change SERVICE NAME, from PLSExtProc to unidad.netcones.com ??
    Thank you again.
    DA

  • SQL Developer 1.1 Query Builder does not display connection tree

    I have installed SQL Developer 1.1 on a PC running Windows XP SP2. I am connecting to Oracle 9.2.0.7.0.
    After connecting to the database, I right click in the SQL Worksheet and select Query Builder and when the new window is displayed, there are no tables to select from.
    What is causing this?

    Hi Antony,
    Upgrading from SP7 to SP9 fixed a lot of problems for me! It's worth trying.
    Problems solved for me:
    Page requests take about 2 minutes to display page (now within a few seconds)
    KM SQL logging (30-50Mb per minute) problem fixed.
    There are some problems upgrading to SP9, but searching this forum will help you in finding some solutions for this
    Regards,
    Noel

  • Query engine : Can not find DSN in Connection String

    DearSir/Madam,
    Opearating System Windows 7 Professional(32-bit).
    I am using Application, which is developed : Visual basic 6.0(32-bit), Report Writer : Crystal Report 9.2.693(32-bit) and database: Oracle 9.2.0.10(32-bit).
    ODBC Data source : System DSN created and Connection established (Based on Driver : CR ORACLE ODBC Driver 4.10 (cror818.dll))
    In windows 7 environment Data Base connectivity and data fetching also wroking fine.
    My problem is while running reports it display error as "Query engine : Can not find DSN in Connection String"
    I want run time reports.
    For your kind information, at the same time in Windows XP Professional there is no problem found and working fine.
    Kindly help me.
    Thanks and regards,
    Swarup

    Crystal Reports 9.x is not supported on Win 7. See the following wiki:
    http://wiki.sdn.sap.com/wiki/x/b4JiAw
    - Ludek

  • How to find out which connection is used for access to Bex query?

    Hello,
    in our BO 4.0 environment we have a lot of different connections to Bex queries.
    There exist more connections to one Bex query.
    For example to Bexquery1  we can access with 2 connections, connection : BX1 (connection specific for one query) and connection DEVcubes(generic connection to all cubes)
    How can I check in Webi report over Bex query which connection is currently used?
    Thanks a lot !
    Rudolf

    Hi Rudolf,
    Your requirement can be achieved using QueryBuilder.
    Please refer to following QueryBuilder step-by-step post by Manikandan:
    http://scn.sap.com/community/bi-platform/blog/2012/10/11/businessobjects-query-builder-queries
    In bove post, Go to Universe Queries section -> All webi report using one connection
    In case you dont know how to use QueryBuilder, please refer to following post:
    http://scn.sap.com/docs/DOC-42952
    Please let us know if you get any doubt.

  • Can´t find Taxonomy Query Builder iView

    Reading this documentation from help http://help.sap.com/saphelp_nw2004s/helpdata/en/77/49523ec744d947e10000000a114084/frameset.htm
    They mention "You are in the Taxonomy Query Builder iView"....
    Wich authorization do I need?? Where is the iView??...
    Thanks in advance.

    Search for ContentManager role in the user admin  and assign that role to your user id or the group you are in.
    Once it is added, Content Manager role will come in Top level navigation.
    Then navigate to Content Manager -> Classification-> Taxonnomy Query Builder.
    Raghu

  • Find how many users are connected in the Oracle Server

    Hi,
    I am using Oracle 10g. My question is, is it possible to find how many users are connected in the Oracle Server. We are having one Server and we are having many client machines which will connect the Oracle.
    And one more question in the meanwhile i want to take Backup of one database which client as connected. Is it get any problem to the client machine which is accessing the server. And How to take the backup from the server machine. Any commands to process.
    Thank u...!

    Hi there.
    If You run
    select count(*) from v$session where username is not null;you'll get the number of users connected to Oracle server,
    and yes , you could do backup while users are connect to db you are backing up.
    cheers

  • How to find out how many users are connected to Exchange 2013 servers in "Online" mode? This is coz, online mode causing server performance issues in our environment

    All, Any script or method to find out how many users are connected to exchange servers in online mode?
    Manju Gowda

    Hi 
    You have to get the "RPC Client Access" log file in your CAS server. There you can see a column called "client-mode" and it has two modes such
    as "classic" and "cached". From there you can get the two different client assess modes and their corresponding users.
    probably take this file openup on excel and filter to see the two modes
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • Query Builder - Find WEBI reports that are using a table

    I am trying to find list of WEBI reports using a specific table. This specific table is used in only 1 universe.
    Though I could successfully find list of reports that use this universe, I am unable to find drill down further and find the subset of reports using this table/object.
    SELECT si_name, SI_KIND, si_id, SI_PARENTID,SI_AUTHOR,SI_OWNER FROM CI_INFOOBJECTS, CI_APPOBJECTS
    WHERE PARENTS("SI_NAME='WEBI-UNIVERSE'","SI_NAME ='MyUniverse'")
    Is it possible to find the information I am looking for using query builder.
    Also, for a given WEBI report I am trying to find the list of report names and the folder they reside in:
    Select SI_NAME, SI_ID, SI_PATH, SI_KIND, SI_OWNER From CI_INFOOBJECTS, CI_APPOBJECTS WHERE
    PARENTS("SI_NAME='Folder Hierarchy'",
    "PARENTS('SI_NAME=''WEBI-UNIVERSE'' ', 'SI_NAME=''MyUniverse'' ')" )
    The above query just gives me the folder names. I am looking to find the report names as well the the folder (and preferably the path) in a single query. Is that possible.

    Sri,
    With respect to your 1st requirement:
    In BusinessObjects 6.5 it was possible. However, post BOXIR2 this information could not be retrieved from CMS via query builder.  I agree with Jorge Sosua's comment above.
    With respect to your 2nd requirement:
    The field 'SI_PATH' will retrieve Filestore path(physical path). If you were referring logical path(Public folder path or psuedo-reference path) will you please refer my respone to Kelly Stone at BusinessObjects Query builder queries - Part II , If this may assist you.
    Regards,
    Sandeep

  • Find user connections on an hourly basis

    Hi ,
    How to find number of connections on an hourly basis over this time period '28-SEP-12'.

    Hi,
    if your license covers the Diagnostic Pack, then you can run an AWR report -- it has logon statistics, or query DBA_HIST_SYSSTAT manually:
    select snap_id, value - lag(value) over (order by snap_id) logons
    from DBA_HIST_SYSSTAT
    where stat_name like 'logons cumulative'
    order by snap_id desc;Best regards,
    Nikolay

Maybe you are looking for

  • ITunes Setup Assistant runs every time I start iTunes 7.3.1.3

    The past 2 iterations of iTunes have had the same problem for me - even though the program is installed already, it doesn't save my settings and runs the setup assistant every time I start the application. I've gone through the assistant twice and pu

  • Default Sharepoint Library View by User ID.

    I was trying to let only certain number of people to have ALL VIEW, whereby majority of people should only have limited filtered view on the same site library, how to achieve this? Again I am using Sharepoint 2010 Foundation. Thanks.  

  • Clients area - Banking Services - BW Dev & Support ?

    Hi All, I would like to know the things taken into consideration while working in developement & support projects with respect to domain. As we have a clients doing retail business for whom the BW is implemented, <b>In the same way i want to have the

  • Iphoto keeps crashing...cannot back-up from iPhoto

    I cannot seem to open iphoto at all. As soon as it opens, the following comes up: Process:         iPhoto [3569] Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier:      com.apple.iPhoto Version:         9.4.3 (9.4.3) Build In

  • RE: Exchange rate update

    Hi all, At the company I am working with currently, they update the exchange rate thrice a month. As a result, they Valuate the PL accounts at the end of the month with the average rate. I do not think this is a good process. So I wanted to know as t