Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Sep 12 2008, 11:21 AM
Post
#1
|
|||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
Hi All
Can anybody let me know how to give the "ACL" Access Control List in the "NI Security:Get Access Rights" Invoke Node. Attached is the image of the Invoke Node for reference. Thanks in Advance. Regards Suneel
Attached image(s)
|
||
|
|
|||
| Ad |
Sep 12 2008, 11:21 AM
Post
#
|
||
|
|
|
||
|
|
|||
Sep 12 2008, 11:41 AM
Post
#2
|
|||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
Hi All Can anybody let me know how to give the "ACL" Access Control List in the "NI Security:Get Access Rights" Invoke Node. Attached is the image of the Invoke Node for reference. Thanks in Advance. Regards Suneel Hello Suneel, I haven't tried it but I guess you have to use the DSC module function, located in DSC Module > Security, there you have functions to get the group list of a domain and the user list of a group. I assume you will have to define domains, groups and users to get it to work. Hope this helps -------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
||
|
|
|||
Sep 12 2008, 12:13 PM
Post
#3
|
|||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
Hello Suneel, I haven't tried it but I guess you have to use the DSC module function, located in DSC Module > Security, there you have functions to get the group list of a domain and the user list of a group. I assume you will have to define domains, groups and users to get it to work. Hope this helps Hi Antoine I have created the domains and users in the Domain Account Manager. Actually I want to get the privilege of the user logged in which is not given by any of the VI's in the DSC > Security. Only one Invoke gives it which accepts the ACL(Access Control List) as Input. I'm in need of the following information: 1. Is there any other way to get ACL? 2. Is there any particular format in which the ACL terminal in the invoke node accepts the data? Regards Suneel
|
||
|
|
|||
Sep 12 2008, 12:46 PM
Post
#4
|
||||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
Suneel,
I don't know exactly how it works but look, the ACL parameter type is a string (not a string array) so I guess the expected input is the user name as a string and the output will be this user's access rights. See : hope this helps -------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
|||
|
|
||||
Sep 12 2008, 01:50 PM
Post
#5
|
||||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
Suneel, I don't know exactly how it works but look, the ACL parameter type is a string (not a string array) so I guess the expected input is the user name as a string and the output will be this user's access rights. See : hope this helps Hi I'm getting an Error when i'm trying with it. The Error code is 1088 and it says "Invoke Node in Untitled 6 Method Name: NI Security:Get Access Rights". I'm using LabVIEW 8.2.1. Regards Suneel
|
|||
|
|
||||
Sep 12 2008, 02:18 PM
Post
#6
|
|||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
Hi I'm getting an Error when i'm trying with it. The Error code is 1088 and it says "Invoke Node in Untitled 6 Method Name: NI Security:Get Access Rights". I'm using LabVIEW 8.2.1. Regards Suneel Hmmmm... It works for me in LabVIEW 8.5.1. Are you sure you defined Domain/Group/Users with the Domain Account Manager ? When you create user, you need to add them to a group -------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
||
|
|
|||
Sep 12 2008, 03:21 PM
Post
#7
|
|||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
Hmmmm... It works for me in LabVIEW 8.5.1. Are you sure you defined Domain/Group/Users with the Domain Account Manager ? When you create user, you need to add them to a group Yes I have added the user to the groups.... I think its a bug in 8.2.1.... Yes I have added the user to the groups.... I think its a bug in 8.2.1.... Hi Can you save the VI you have tried to 8.2.1 and upload it. Regards Suneel
|
||
|
|
|||
Sep 12 2008, 03:32 PM
Post
#8
|
|||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
Can you save the VI you have tried to 8.2.1 and upload it. Sure
Attached File(s)
-------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
||
|
|
|||
Sep 12 2008, 03:46 PM
Post
#9
|
|||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
|
||
|
|
|||
Sep 12 2008, 03:58 PM
Post
#10
|
|||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
Thanks... But its giving the same error..... I have LabVIEW 8.20 and it works fine for me For the user account you created, did you uncheck "Lock account" in the Domain Manager ? If not, try to do it. Otherwise I don't know.. -------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
||
|
|
|||
Sep 12 2008, 04:41 PM
Post
#11
|
|||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
I have LabVIEW 8.20 and it works fine for me For the user account you created, did you uncheck "Lock account" in the Domain Manager ? If not, try to do it. Otherwise I don't know.. Hi I haven't locked the account in the Domain Manager? Anyway Thanks for your help.... Suneel
|
||
|
|
|||
Sep 12 2008, 05:19 PM
Post
#12
|
|||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
I haven't locked the account in the Domain Manager? It is locked by defaukt and you have to unlock it. -------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
||
|
|
|||
Sep 12 2008, 06:25 PM
Post
#13
|
|||
|
1 more post to go! Member Posts: 9 Joined: 1-December 05 From: India Member No.: 3595 Using LabVIEW Since:2004 LV:7.1.1 ,8.0.1 ,8.2.1
|
It is locked by defaukt and you have to unlock it. Yes i have made sure that the account is not locked....
|
||
|
|
|||
![]() ![]() |