Enter the user groups and privileges in labVIEW

Hey Gang,

We are developing an application in LV 2010 where we need to control user access to the parts of the application.  This application will be installed on about 50 machines.  It dept can assign users to one or more of the three special groups to manage permissions through Windows.  I need to be able to read what the current user belongs to groups by programming LabVIEW.  I know that this can be done in Teststand, but we do not use that.

I know how to get the user name of the application object, but we have to manage our own list of privileges on the network somewhere and we do not want to do that.

I saw here in the DevZone that someone posted a DLL that return a Boolean value if the user is an administrator, and who has come close, but do not do.

I hope that we don't need to dig into the programming to do this Windows System.  It seems that someone would have done this before.

Any help is appreciated!

Roger

Ready to deal with a .NET solution? The joint assumes that you are in an environment Active Directory. NOTE: This requires .NET 3.5.

Tags: NI Software

Similar Questions

  • When you enter the user name and password in Windows Mail I get the following error: Server error: 0x800CCC90, error number: 0x800CCC92.

    Difficulties of username and password.

    In Windows Mail I suddenly wonder for the user name and password.  I fill them but receive no mail from mu.  I get the message:

    Account: 'pophost1.classicfm.net', server: 'pophost1.classicfm.net', Protocol: POP3, server response: '-ERR failed the connection. ', Port: 110, secure (SSL): no, Server error: 0x800CCC90, error number: 0x800CCC92.
    Please can you help me?

    Hello

    ·         Were there any changes to the computer, lately?

    Method 1:

    (a) start the Windows Messaging mail client.

    (b) click on 'Tools' from the main menu and choose "accounts".

    (c) a pop up will appear showing you all the email accounts in Windows Mail. Select the one that gives you the error and then click on the button 'Properties'.

    (d) another window pop up displays all parameters associated with this account.

    (e) under the "servers" tab check the 'e-mail username' and 'password'. One of them would certainly incorrect which translates the ID of Windows Mail error 0x800CCC92

    (f) to avoid having to enter the user name and password each time, check the box in front of "Remember password".

    (g) once you make the appropriate changes, click on the button 'apply' then 'OK'. Close the other pop-up window

    Method 2: Remove the existing from Windows mail email account and create a new one following the link provided below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-Windows-mail-account

    Reference:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Mail

  • Everytime I open my Windows Live email account I asks me to enter the user name and password and I see an 0x8000CC17 error message

    Whenever I open my email account, I asks me to enter the user name and password and I see an 0x8000CC17 error message. Please can you offer any advice. Thank you

    * original title - Hello, I am a user of Windows Vista and my email account is windows mail *.

    Hi Petersanswers,

    Thanks for posting your question in the Microsoft answers Forum.  For information about Windows Live Mail, please visit the following link:

    http://windowslivehelp.com/forums.aspx?ProductID=15

    Thank you!

  • I can not access my Verizon email on my iPad. I can access the login page, but there is no box to enter the user name. I talked to Verizon support, and they say no problem at their end. Any ideas?

    I can not access my Verizon email on my iPad. I can access the login page, but there is no box to enter the user name. I talked to Verizon support, and they say no problem at their end. Any ideas?

    Macbeth,

    From your description, it appears you are trying to get your mail using Safari to access your e-mail account. Why you do not use the Mail App?

    http://www.Verizon.com/cs/groups/public/documents/adacct/Setup-email-mobile-Devi Ed.pdf

  • No Add button in the users section and groups on LenovoEMC Storage Manager 1.4.4.14439

    I just install my new Iomega PX4 - 300 d and have enabled security. When I go to the users section and groups, there is no Add button to create new users or groups.

    The Add button is available in other sections and I created with success of new volumes/shares.

    I read the instructions and following the guides online without success.

    Is there another setting that I missed?

    He solved.

    I disabled the security and then reactivated it.

    The add users/groups button reappears.

  • After I give my serial number, I wonder to enter a user name and password I enter in what they gave me a password, but when I click Next the password does not work what do I do?

    I try to install 14 items. After that I entered the serial number and the password that was given to me I can't move forward. What can I do?

    Maybe it's your operating system asking your administrator password prove that you are authorized to perform the installation

  • Add the user to the users group in the Users.ini file using c#

    Hello

    Using a c# application, we strive to add/remove a user from the TestStand Users.ini file.

    The CreateDeleteUsers.seq file in the samples of TestStand is used as a reference.

    We have seen that we are able to add the user to the list of user help file

    engine. UsersFile.UserList.SetPropertyObjectByOffset (0, 0 x 1, newUser.AsPropertyObject ());

    However, when we try to add the user to the user group, the sample file CreateDeleteUsers.seq said

    RunState.Engine.GetUserGroup (Locals.GroupName). Members.SetPropertyObjectByOffset (0, 0 x 1, Locals.User.AsUser.LoginName)

    If we try to replicate this in c#, the API seeks the last parameter (which is LoginName in the CreateDeleteUsers.seq file) as an object of property

    engine. GetUserGroup (this.) GroupName). Members.SetPropertyObjectByOffset (0, 0 x 1, newUser.AsPropertyObject ());

    This causes an exception of object reference when we run the application.

    Please advise on how to proceed.

    Thank you

    Arun-

    The members property is an array of string, so the 3rd parameter to SetPropertyObjectByOffset requires a string property object, IE. the user name and not of the user object. From the will of the user object error with '-17308; Specified value is not the expected type. ». The example should really be using SetValStringByOffset to be clearer so that you only specify the user name of the actual string.

  • I gave a comuter the person who owned it died. How can I change the user name and password?

    A few months ago, I gave a comuter the person who owned it died. The window indicates Micrsoft Window XP Professional-HP. My problem is that I do not have access on behalf of users and password. What should I do?

    Hello

    Many on this forum suggests that when you "inherit" a PC, you should do a clean install of Windows to delete the unwanted "baggage" that the previous owner has left behind. For example (but not limited to) viruses and criminal and illegal downloads. Such a procedure will reset all the passwords anyway. The PC may have a factory reset mechanism still intact. Visit the manufacturer website for more information, or we do know the number of brand, range and model of your PC for assistance.

    If you are using XP Home Edition, the built-in Administrator account probably doesn't have a defined password. You can start in safe mode, where this account will be selectable when connecting. It allows to connect and change the password of any other connection.

    To start in safe mode, keep hitting F8 twice a second after turning on the PC until you get the start menu where safe mode is selectable by the up/down arrow keys, and then press ENTER.

    If you are using XP Professional, try to connect using the built-in Administrator account. You don't need to do it in safe mode (although you can if you wish). If your normal login screen is a display of the user symbol and hit ctrl-alt-del twice to get to login to text entry. Type administrator as the user name and try a blank password.

    See also http://support.microsoft.com/kb/321305

    Other than the foregoing, this forum has a policy of unknown passwords

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

    Tricky

  • autologin Windows 7 without box "users must enter a user name and password to use this computer"

    My dialog box user accounts does not the box "users must enter a user name and password to use this computer" and how do I turn it on?

    Hello Russ,

    You can continue with the following steps to support.  However, if your computer is on a domain, unfortunately, there's nothing we can do.  You will need to contact the system/network administrator.  TechNet forums can be beneficial for a resolution on your http://social.technet.microsoft.com/Forums/en-us/category/w7itproinquiry.  Please create a Restore Point and backup of the registry before proceeding.

    1. click on start, run, type regedit, and then click OK.
    2. look for the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
    3. with the help of your account name and password, double-click the DefaultUserName entry, type your user name, and then click OK.
    4. double-click the DefaultPassword entry, type your password in the value data box, and then click OK.

    If there is no DefaultPassword value, create the value. To do this, follow these steps: a. in the registry editor, click on edit, click New, and then click String value.
    b. Type DefaultPassword as the value name, and press ENTER.
    c. double-click the newly created key, and then type your password in the value data box.
    If no DefaultPassword string is specified, Windows XP automatically changes the value of the AutoAdminLogon registry key by replacing 1 (true) to 0 (false) to turn off the AutoAdminLogon feature.
    5 double-click the AutoAdminLogon entry, type 1 in the value data box, and then click OK.

    If there is no AutoAdminLogon entry, create the entry. To do this, follow these steps: a. in the registry editor, click on edit, click New, and then click String value.
    b. type AutoAdminLogon as the value name, and press ENTER.
    c. double-click the newly created key, and then type 1 in the value data box.
     
    6. exit the registry editor.
    7. click on start, click on restart and then click OK.

    I hope that this information is beneficial

    Thank you

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to set up users, groups, and security role in WebCenter E-capture 11.1.1.8.0

    Hello

    I need to set the security of user group and the role of E-Capture but not no matter what doc and I configured 5 reviews in web logical console with the administrator group, but faced with a problem that is mentioned below

    Problem:

    (1) in the E-capture show only user weblogic and I'm not able to search for any user.

    (2) not yet able to connect to e-capture console and client using another user except weblogic.

    Please guide me how to set security for e-capture console and customer e-capture.

    Thanks in advance

    Sanjeev

    Hello

    Connect to Enterprisemanger-> right click on the domain-> titles-> roles and policies

    Then select capture and navigate to capture roles add LDAP users and groups to roles according to your requirement to capture. If faced with any LDAP related issues can create the user with the admin role and try to add it all first by assigning the two roles out there. Hoping that this will certainly help.

  • ODI is not able to detect the primary/foreign keys to XML - the user has no privilege or object not found

    Hi guys,.

    Im trying to load an XML with the address of two entities and employee as below. The topology of reverse engineering, everything works well. Even able to display the xml data in ODI, but when I try to load the data of these two entities join by the schema of the primary keys and foreign keys which created odi engineering process reverses for xml, im im getting the error below.  IM able to load an entity data, error occurs only when I use the join odi creates internally to identify employees for xml and address components

    XML file:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < EMP >

    < Empsch >

    < employee >

    < EmployeeID 12345 > < / EmployeeID >

    < original > t < / initials >

    John < name > < / LastName >

    DOE < FirstName > < / name >

    < / employee >

    < address >

    < > 12345 as WorkPhone < / as WorkPhone >

    < WorkAddress > test 234 < / WorkAddress >

    < / address >

    < / Empsch >

    < / EMP >

    Topology: jdbc:snps:xml?f=C:/Temp/RR/Empsch.xml & s = Empsch & re = EMP & dod = true & nobu = false

    Error message:

    -5501: 42501: java.sql.SQLException: user has no privilege or object not found: EMPSCH. EMPSCHPK

    java.sql.SQLException: user has no privilege or object not found: EMPSCH. EMPSCHPK

    at org.hsqldb.jdbc.Util.sqlException (unknown Source)

    for org.hsqldb.jdbc.JDBCPreparedStatement. < init >(Unknown Source)

    at org.hsqldb.jdbc.JDBCConnection.prepareStatement (unknown Source)

    at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1232)

    at sun.reflect.GeneratedMethodAccessor65.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$ OnDisconnectCommandExecutionHandler.invoke (OnConnectOnDisconnectDataSourceAdapter.java:200)

    to $Proxy2.prepareStatement (Unknown Source)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)

    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:81)

    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)

    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: org.hsqldb.HsqlException: the user has no privilege or object not found: EMPSCH. EMPSCHPK

    at org.hsqldb.error.Error.error (unknown Source)

    at org.hsqldb.ExpressionColumn.checkColumnsResolved (unknown Source)

    at org.hsqldb.QueryExpression.resolve (unknown Source)

    at org.hsqldb.ParserDQL.compileCursorSpecification (unknown Source)

    at org.hsqldb.ParserCommand.compilePart (unknown Source)

    at org.hsqldb.ParserCommand.compileStatement (unknown Source)

    at org.hsqldb.Session.compileStatement (unknown Source)

    at org.hsqldb.StatementManager.compile (unknown Source)

    at org.hsqldb.Session.execute (unknown Source)

    ... more than 27

    Please advice

    Thank you

    Fabien

    It is clear from the content of the xml file, you have given here. In this xml file, you have four type of complex. Two of them are employed and address. However the employee doesnot has nothing to do with the address that you have not added the relationship. That is why its failure. This isn't the fault of the ODI.

    Also I suggest not to use self-generated by ODI dtd that you might face problem in the future. For example, the address of XML type has 8 attributes, and 4 of them are not mandatory. This means that each of your xml file may have attributes between 4 and 8.  That's where ODI auto generated DTD fails.

    ComplexType element XML schema

    Thank you

    Chantal

  • the API call error: error: the user has sufficient privileges to perform this API call.

    Hello

    I'm exploring cloudClient 3.4.1 but I'm trying to run a "vra catalog list" command or other similar commands I get the error "error: the user has sufficient privileges to perform this API call."

    I don't know what are the permissions of system requirements before I can make the API call because the account which I use to make these calls already have privileges to Administrator local on box of IAAS & is admin Admin/tenant IAAS. In short, the user is a full administrator of the tool.

    Please help me because I found there is a documentation for the usability of the cloudclient.

    Thank you

    MG

    Is the account of your help to make the law of all items in the catalog API call? We have users from the normal group of activities that use the API does not have system or administrator access.

  • VMRC permissions Voodoo - limitation of the ad group and folder VM-based Console access

    We are allowing access to their virtual machine using VMRC console administrators. Our Unix administrators get access to their virtual machines and the same Windows administrators, but they should not be able to access each of the other consoles.

    We have implemented a 'VMRC Console' role and allowed only 'Interaction of virtual Interaction/Console machine' for this role. When we apply this role to the user group AD for Unix (for example) administrators on the ESXi host objects, they are not able to connect unless we put the option spread. When we do this, they now have access to all THE consoles, not just them.  As soon as uncheck us spread it, they can see their VM once again, but cannot access the console.

    What is the secret sauce here to limit them to their own consoles? I can see why this is happening, but I was hoping that the VM folder permissions would have limited their access. Apparently the host permissions override the VM folder permissions (and this is not surprising, really).

    There is currently no provision for limiting access to a single console you want. Work is ongoing at this address in a future version with changes in vSphere, ESXi/etc. and VMRC.

  • Really? Once again? "The user has sufficient privileges to install Adobe Flash Player"

    My browser is firefox.

    "The user has sufficient privileges to install Adobe Flash Player" is the incessant problem, I had several times the Flash update.

    Come on guys, it's beyond ridiculous. Installation always stops in 55% exactly and is never completed, leaving me to give up Firefox for Chrome. I mucked on the last, half a dozen times this has happened during the update and just by pure chance she managed to install, but it has been 2 hours mucking similar and I'm now getting nowhere.

    This has been a persistent problem and affected many users of firefox for years, as I saw it by my own experience and google search. Is there a way you all can provide a SIMPLIFIED solution to this question, in coordination with firefox or by providing a 'unique' Firefox Installer? Really it's too annoying.

    In any case, before anyone asks, yes I am logged in as administrator, and Yes, I ran the Installer "as admin" by right-clicking. I also went ahead and completely uninstalled flash (and emptied such records as requested in other threads here) and reinstalled it, only to watch the progress bar to put an end to 55%, as usual and let me by clicking on this icon of Chrome stupid to have a programme of work for flash.

    Honestly people, why, after years, it continue to be a persistent problem? Fix it for the love of God! Are you a lot guys make the ObamaCare website or what? Firefox people are loyal to our browser, and the installation of new versions of flash on this browser is a bloody useless pain in the you know what.

    Sorry for the frustration visible, but if someone could please provide a solution, I wouldn't need to be to complain here universal work and moaning.

    Try a new installation as described in http://forums.adobe.com/thread/928315

    Regarding the installation programs use these installers in offline mode:

    Flash Player ActiveX (Internet Explorer)

    Flash Player plug-in (all other browsers)

    If you still experience problems during installation, please send the contents of the FlashInstall.log file

    C:\WINDOWS\system32\Macromed\Flash and

    C:\Windows\syswow64\Macromed\Flash

  • Change the string "Please enter the user name" to a Secure area login

    Hey there,

    I wonder if there is a way to insert a few js similar to http://forums.Adobe.com/docs/doc-1808 to change the alert which has demonstrated when a person enters a user name to sign into a secure area. We use e-mail instead of user names, so it is confusing that the pop up according to "Please enter the user name" when it is inserted there nothing there. I'd be happy to change it to "Please type the e-mail address"

    I read all the info on personalization of messages from BC with JS and it is of course - I just need to be headed in the right direction with the js for this one right.

    Thanks in advance!

    There is javascript just below your login form that deals with the validation of this form.  I'm sure that you can change where I select "Username" to "E-mail address." Find similar code (your name of the function will be different) and make the change on your login page.

    function checkWholeForm68244 (theForm) {}

    var what = "";

    If (theForm.Username) why += isEmpty (theForm.Username.value, "Username");

    If (theForm.Password) why += isEmpty (theForm.Password.value, "Password");

    If (why! = "") {}

    Alert (Why);

    Returns false;

    }

    theForm.submit ();

    Returns false;

    }

    Change "Username" in red above for "Email address" and you're all set.

Maybe you are looking for