LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using several Active Directory user certificates at once

Is there anybody who knows their way around the Active Directory .NET methods?

 

  • I have an automated rig which will be processing a number of tests which can be queued on the rig.
  • In order that anybody can operate the rig, it is logged in with a generic Active Directory account, "Rig User". The software then runs inside the "Rig User" Windows session.
  • Users will insert their sample, log into the software using their own Active Directory username and password, and add their experiment to a queue of experiments.
  • This creates a number of authorised user certificates, which are held within the scope of the control software.
  • When it comes to process their experiment, the results report is saved on the local machine and copied to the server, under the user's Active Directory home directory.

Active Directory.png

I can pull the path of the folder from the Active Directory listing, as { \\server.group.work.com\UserVol[1,2,3]\Users\[username] }

 

Does anybody know of any .NET methods to map a path, authorising with a user certificate, and copy a file over? Or any other smart ways of doing this?

It's the end of a week and I can only think of a NET USE call to the system_exec vi

 

_____________________________
- Cheers, Ed
0 Kudos
Message 1 of 2
(2,445 Views)

Hi Ed,

 

Apologies for the late reply. I've looked into this for you and at the moment can not see of any other ways of doing this.

If you have not yet found a resolution, you may have more luck on specific .NET forums or the MSDN.

Regards,
Chris (CLED, CLA, CTA)
Applications Engineering Specialist
0 Kudos
Message 2 of 2
(2,381 Views)