LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Getting Access Control List
Suneel
post 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
India Nothing Selected Nothing Selected


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)
Attached Image
 


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Sep 12 2008, 11:21 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Antoine Châlons
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
France Switzerland Spain My Gallery


QUOTE (Suneel @ Sep 12 2008, 01:21 PM) *
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


_____________________________________________________________________________________


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Suneel
post 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
India Nothing Selected Nothing Selected


QUOTE (Antoine Châlons @ Sep 12 2008, 05:11 PM) *
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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Antoine Châlons
post 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
France Switzerland Spain 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 :

Attached Image


hope this helps

--------------------
____________________________________________________________________________________

It's better to stay out of the rat race because if you win, you're still a rat


_____________________________________________________________________________________


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Suneel
post 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
India Nothing Selected Nothing Selected


QUOTE (Antoine Châlons @ Sep 12 2008, 06:16 PM) *
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 :

Attached Image


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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Antoine Châlons
post 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
France Switzerland Spain My Gallery


QUOTE (Suneel @ Sep 12 2008, 03:50 PM) *
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 wink.gif

--------------------
____________________________________________________________________________________

It's better to stay out of the rat race because if you win, you're still a rat


_____________________________________________________________________________________


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Suneel
post 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
India Nothing Selected Nothing Selected


QUOTE (Antoine Châlons @ Sep 12 2008, 07:48 PM) *
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 wink.gif


Yes I have added the user to the groups.... I think its a bug in 8.2.1....

QUOTE (Suneel @ Sep 12 2008, 08:48 PM) *
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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Antoine Châlons
post 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
France Switzerland Spain My Gallery


QUOTE (Suneel @ Sep 12 2008, 05:21 PM) *
Can you save the VI you have tried to 8.2.1 and upload it.


Sure
Attached File(s)
Attached File  security.vi ( 16.94K ) Number of downloads: 29
 

--------------------
____________________________________________________________________________________

It's better to stay out of the rat race because if you win, you're still a rat


_____________________________________________________________________________________


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Suneel
post 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
India Nothing Selected Nothing Selected


QUOTE (Antoine Châlons @ Sep 12 2008, 09:02 PM) *
Sure


Thanks...

But its giving the same error.....


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Antoine Châlons
post 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
France Switzerland Spain My Gallery


QUOTE (Suneel @ Sep 12 2008, 05:46 PM) *
Thanks...

But its giving the same error.....


I have LabVIEW 8.20 and it works fine for me ohmy.gif
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


_____________________________________________________________________________________


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Suneel
post 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
India Nothing Selected Nothing Selected


QUOTE (Antoine Châlons @ Sep 12 2008, 09:28 PM) *
I have LabVIEW 8.20 and it works fine for me ohmy.gif
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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Antoine Châlons
post 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
France Switzerland Spain My Gallery


QUOTE (Suneel @ Sep 12 2008, 06:41 PM) *
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


_____________________________________________________________________________________


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Suneel
post 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
India Nothing Selected Nothing Selected


QUOTE (Antoine Châlons @ Sep 12 2008, 10:49 PM) *
It is locked by defaukt and you have to unlock it.


Yes i have made sure that the account is not locked....


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic