View groups of users and privileges

Hello world!

I'm currently building a custom for TestStand operator interface with LabView. I've already done a VI whose façade contains a listbox where all available TestStand users (see file attachment) are displayed. Once selected a user by clicking on its name, it is displayed in the control of the chain.

Now, in addition to displaying the selected user name, I would like to display: in a list box, the list of groups (Administrator, operator,...) to which the selected user belongs; in another list box, the list of privileges belonged to the selected user.

How can I do this?

Thank you

Thanks LiciaP!

Following your suggestions too, I managed to do what I wanted.

See attached VI for the solution. Because I am a novice, I asked if someone can check the block diagram to propose improvements of organization code.

Ciao

Tags: NI Software

Similar Questions

  • How can I check if a user belongs to a certain group of field and see what are the permissions that the user has on a specific group "administrator, user and guest"?

    I can't check in a group of area if a user is "administrator, user and guest.

    I'm using labview 2012 in the windows domain.

    I think that there are tools. NET to resolve this, but could not yet.

    Attached a file that checks if a user belongs to a group in the area, but without the information of privileges.

    In the past, I used the command line.  Use ' Net User % username / Domain % domain % ' to get information about the user.  Actually, I don't have the right to see the other commands, so I don't know how it works now.  .NET looks more elegant, but I never used it for that.

  • New user and privileges - curious

    Hello
    I know I'm missing something here. It is quite confusing.

    I have a User1 scheme - which has public synonyms.
    created a new schema USER2 with the roles and the following privileges
    WRITING ARTICLES, READ THE DIRECTORY "SYS. TEMPDATA.
    PRV CREATE PROCEDURE
    PRV CREATE VIEW
    PRV UNLIMITED TABLESPACE
    ROL CONNECT
    PERMISSION OF ROL
    ROL IMP_FULL_DATABASE
    RESOURCE OF ROL

    But when I login as long as User2, I can access, update and delete rows of USER1. It's not what I want. I checked the user_tab_privs_recd and nothing shows here. How is it has User2 of privileges to update/change the tables of USER1? By just having a public synonym, that shouldn't be the case.
    I don't think that "grant all on tablename to the public" was given.
    for example. I have the EMP table to User1
    s
    elect * from dba_tab_privs where table_name = 'EMP '.
    ----------------------------------------------------------------------------------------------------------------------------------------------------
    DEALERSHIP OWNER TABLE_NAME GRANTOR PRIVILEGE HIERARCHY
    ----------------------------------------------------------------------------------------------------------------------------------------------------
    USER1_READONLY USER1 USER1 EMP SELECT NO
    ABC USER1 USER1 EMP SELECT YES NO
    CDE USER1 USER1 EMP SELECT YES NO
    ZZZ_READONLY ZZZ ZZZ EMP SELECT NO


    Any ideas? I'm confused, because since USER1_READONLY is not granted User2, even with a public synonym, USER2 does NOT have read access. But USER2 can day/remove and perform on User1. EMP

    Thank you

    Hello

    But when I login as long as User2, I can access, update and delete rows of USER1.

    The role of permission has the system SELECT ANY TABLEprivilege:

    SQL> select * from dba_sys_privs
      2  where grantee='EXP_FULL_DATABASE';
    
    GRANTEE                        PRIVILEGE                                ADM
    ------------------------------ ---------------------------------------- ---
    EXP_FULL_DATABASE              READ ANY FILE GROUP                      NO
    EXP_FULL_DATABASE              RESUMABLE                                NO
    EXP_FULL_DATABASE              EXECUTE ANY PROCEDURE                    NO
    EXP_FULL_DATABASE              EXECUTE ANY TYPE                         NO
    EXP_FULL_DATABASE              SELECT ANY TABLE                         NO
    EXP_FULL_DATABASE              ADMINISTER SQL MANAGEMENT OBJECT         NO
    EXP_FULL_DATABASE              ADMINISTER RESOURCE MANAGER              NO
    EXP_FULL_DATABASE              BACKUP ANY TABLE                         NO
    EXP_FULL_DATABASE              CREATE SESSION                           NO
    EXP_FULL_DATABASE              SELECT ANY SEQUENCE                      NO
    EXP_FULL_DATABASE              CREATE TABLE                             NO
    
    11 ligne(s) sÚlectionnÚe(s).
    

    It may explain why the USER2 can select rows in the Tables of USER1.

    The IMP_FULL_DATABASE role has DELETE ANY TABLE and update ANY TABLEsystem privileges. So he can explain why User2 can remove and update Tables of USER1 lines.

    Hope this helps.
    Best regards
    Jean Valentine

    Published by: Lubiez John Valentine on April 4, 2011 17:44

  • Using the boot-block to identify users within a group of users?

    Hello

    I need help with the following scenario:

    I need to identify if a user is a member of a specific group of users, and if so I want to fill a session variable.

    I do not have (or want) an external table that contains the user id and user groups. Instead, I want to perform this check completely in the repository. I know that there are two session variable system that contain the necessary information:

    USER (containing the OBI accountname)
    GROUP (containing a list of all the groups that a user is a member)

    Can anyone provide me with the syntax or a sample script to perform this check:

    If: GROUP contains "name_of_group_to check_for" then CHECK = CHECK 'Yes' to another = 'no '.

    In addition, when creating a block initialization, I need to specify a collection of connection, but in my case, I don't think that I need to specify one?

    Thanks for any help!

    I don't think you can do what you want. The reason is that the GROUP of session variable is filled with the guarantee of the RPD groups Finally, so if you were to create an Init Block to the If statement (IF in SQL) you mention below will be empty. Init blocks must also run on a database.

    Now, I think you are trying to solve a requirement in a very strange way. I would ask you that, instead of posting the solution he's better, clearly state you your real business needs to see if it's the best way to solve it.

  • View of VM, linked Clones and Thinapp to a group of users?

    In our configuration of the display, I have a pool of 80 people, some users have asked MS Visio.

    I created a package of visio and wanted to deploy to a group of users, but I can only assign to a pool.

    Is it possible so I can assign MS Visio only to a certain (AD) Group of people without having to create an additional pool?

    For another application, I use the security feature in the application thinapped, which do not allow users to start the program and again reports an error message. It does not work with visio propperly: a user with visio can open files visio very well with the editor, a user without visio should get the (internet Explorer) visio Viewer, but the application is launched instead (which restores the safety message and the user cannot view the visio file).

    In theory if you added it to a pool only people within the security group would be able to access.   You can also use a login script register which means that it could only be saved for those who can visit his profile.    See the link below for example sript login.

    http://blogs.VMware.com/ThinApp/2008/10/ThinApp-thinreg.html

  • Control Panel is not on the list. Users and local groups does not appear in computer management.

    1. click on start, and then point to setting, control panel is not on the list.  When you try to get to the Panel of control via a link in Help and Support, had an error, "operation has been cancelled due to restrictions in effect on this computer.  Contact your system administrator. »

    2. local Users and Groups does not appear in computer management.

    There is only one profile on the PC, the OS is XP Home.  It seems lost his administrator privileges somehow my user profile.  Could you please suggest how to solve this problem?  Thanks in advance.

    Hi PJohnson,

    You can access the link below and follow the steps in the article to create a new user account and copy the data to the new account.

    http://support.Microsoft.com/kb/811151

    I hope this helps. Let us know the result.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Don't Win 7 Home Premium no local users and groups under computer management

    I am trying to create local groups, but when I go into computer Managemmt as an admin there no option groups in the tree.  Aide said it is in "computer Management\System Tools\Local and Groups\Groups users", but the only options I have under system tools are planner of the event viewer, shared folders, Performance and device - not local users and groups management tasks.  No idea how I can get access to this?

    I think that it is only available if you have Windows 7 Professional or ultimate edition. Bob Larson Access MVP

  • Where the local users and groups in Win 7 Home Premium? I don't find it in computer management.

    Where the local users and groups in Win 7 Home Premium?  I don't find it in computer management.

    Elevate your privileges permanently would defy the purpose of UAC and is therefore not available. There are two ways to start a command prompt:

    1. click on the start planet.
    2. type the three letters cmd in the search box.
    3. press on Ctrl + Shift + Enter
    4. click on "run as Administrator".

    or:
    1. create a shortcut on the desktop for cmd.exe.
    2. right click.
    3. click on run as administrator

  • Not the users and groups folder under computer management

    Original title: no access to users and groups in Windows 8 Pro

    Right click on computer, select Manage

    There is no option in the management of the computer!

    WHY? How to view?
    Thank you
    Hi Johnny,.
     

    Looks like you are unable to get users and groups under computer management.

     
    I would like to gather information to help you:
     

     
    (1) how do you try to locate users and groups under computer management?
    (2) you are able to view other folders in the same section?
    (3) don't you make changes to the computer before this problem?

     
    I suggest you to check if the steps will help you to locate users and groups folder under Computer Management:
     

    (a) Windows and X set button, and then select computer management.
    (b) double click on system tools.
    (c) click on local users and groups.
    (d) check if you are able to find users and groups folder.
     
    Do we not respond with the status of this issue.
  • Additional portal for creating users and groups in OBIEE.

    Good afternoon everyone

    We are facing a situation where a resource by another company needs to create and manage their own users who will access OBIEE.

    That means that for the moment we have create users in Weblogic, but we cannot provide the resource with access to weblogic due to many other services running in the Weblogic causing a safety hazard.

    My question: is there another way, we can provide access to this resource through a portal that will only be able to manage the users and groups that will access OBIEE and not be able to view all other settings?

    Concerning

    Benoit

    Hi Benoit,.

    Cool, can you close the thread if it is right for you? Currently, it is still marked as

    This issue is no answer.

    If you have detailed follow-up questions (which I think you will to the BISQLProviders) you can make a custom thread and we will deal with this matter else on its own.

    See you soon

  • Users and groups in which Planning Table?

    Hello gurus.

    PLS, can someone point me to the right direction here...

    I try to get all the users and the corrosponding groups that they are also part of the planning. Is there a backend table that will provide me with this information?

    Through the export security EAS provides information, but then the format is compact and does not sit in excel for the presentation/report.

    Concerning

    Hello

    You can use the CSSImportExport utility to export all the provision of Shared Services.
    or you can use the exportsecurity utility (in the planning\bin directory) to export the access privileges for a planning application.

    I would try using these utiliites first before going directly to the tables

    See you soon

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

  • Privilege to allow a user to create a view of another user schema

    Hello

    I need allow a user create a view of another user schema.
    Say, log in as the latter and run the statement: "create view USER_B_SCHEMA.myview as select...". »

    Is there a way to achieve this without the agreement of this last privilege to CREATE ANY VIEW? I want to keep it on the profile as low as possible.


    Thank you!

    You can create a stored procedure, here's a test case (not optimized, no free bug):

    SYS@orcl > create user sp_owner identified by sp_owner;
    
    SYS@orcl > grant create any view to sp_owner;
    
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    
    SYS@orcl > create user test identified by test;
    
    SYS@orcl > grant create session to test;
    
    SYS@orcl > grant execute on sp_owner.create_view to test;
    
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.
    

    HTH

    Enrique

    PS. If your problem has been resolved, consider marking the question as answered.

  • How can I remove comments from the users and groups

    I have my in my users and groups in the system preferences a user snd invited another user

    How can I remove them

    Go to Preferences system-> users and groups, and then press the lock to allow you to change the settings. Then choose 'user comments' in the sidebar and uncheck "Allow clients to connect to this computer". This will not make this option disappear, but after that you will not be able to use the Guest user.

    «Respect for the other user, simply choose it in the sidebar and press on the '-' button.» Make sure that no one uses this user.

  • How can I remove the administrator in users and groups

    I give my MacBook to a family member.  I just upgraded to El Capitan.

    I opened system preferences > users and groups > and added my brother as a new user and administrator.  I was unable to remove me as an administrator, and now I can't stop computer without getting the warning "stop can cause other users connected to this computer to lose unsaved changes."  If I switch to the user the same message appears then try to stop.

    Help please

    What to do before you sell or give away your Mac - Apple Support

  • user and replication group

    Hi all

    is there a way to replicate the list of users and the list of groups of one IX4 to another? I am mirroring one device to another in a different location, but need it to be ready and accessible with the last amendment to permission lists.

    Thank you very much

    NP

    With the new 4.1.xxxxx of the firmware, you can use configuration up and restore and use it on another device again.

    https://Lenovo-na-en.custhelp.com/app/answers/detail/A_ID/29720/kW/back%20up%20config

Maybe you are looking for

  • Unable to connect to Safari.

    When I select Safari and select the option "search", it stops. I restarted the legacy and it did not help. I am able to get other web sites OK.

  • Question by using the fingerprint reader to connect to Windows 8 on Elitebook 2760p

    Hey all. The fight currently with my 2760 p to use fingerprint for you the reader connect to Windows 8 x 64. I currently have all the other pieces of the puzzle installed, because I found in older subjects, but when at the login screen, sliding my fi

  • HP Pavilion 15-b102sh

    Hello! Sorry for my English. I may be wrong with it. I have a HP Pavilion b102sh 15. It worked so good with Windows 8. I tried to restore the system, but it did not help. I decided to try to install Win 7 on the laptop. But HP doesn't support, if I'm

  • Phone crashes when closing slide

    Is this a faulty hardware?  Several times when I closed the bolt on my phone it will crash with a wrapper beige on the screen and fade.  The phone broke down to the point of turning to the and must be activated again.  Anyone else seeing this?  I tho

  • Get the error code 0x80070426 and a black screen when recording in Windows Vista

    Original title: Error Code 0x80070426? __ I have tried to connect with windows vista but had a black screen with the box in the middle that says error code 0x80070426