LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get group Name

Hi all !

 

I developp an application with labview 2009. Different user can use this application. Each user may have specific rights depending on the group he belongs to. e.g. admin, operateur....

 

To do this, i created severeal group in Windows XP, and severeal user in each group. In my application i want to retrieve the user ans the group of the user which is logged in. I found how to retrieve the user name, but i can't find anything to get the group he belongs to... i read severeal post in the forum and it seems to be impossible to do ....

 

Any idea how to do this ??? Thanks for your future answer....

0 Kudos
Message 1 of 3
(2,529 Views)

I would search the registry, if the information is stored there. Look under the key CURRENT_USER.

 

Felix 

0 Kudos
Message 2 of 3
(2,510 Views)

Hi Felix,

 

Thanks for your answer, I already searched in the registry , but unfortunately i did'nt found anything... Now I'm trying to access to these information with an active X : Active DS Type Library. But for the moment, it doesn't seems to work ...

 

It's strange that labview doesn't have any standard function to do this. I think i'm not the first who has this need ...

0 Kudos
Message 3 of 3
(2,502 Views)