Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

DTreeACL Table - Permissions Column

DTreeACL Table - Permissions Column

DTreeACL Table - Permissions Column

How to decode or to crack the bit masking in order to identify permissions if it see, see contents and etc from DTreeACL table using sql server or any other programming language. Thank you

RE: DTreeACL Table - Permissions Column

In SQl server you can do BitWise manipulation like this . In Oracle there is a function called BitAnd.

CODE -->

/* quick script that can look at a template and a spawned child for See,See Contents*/

/*ACLType=1 Owner,2 Group,3 PA,4 S,0 Below the ACL*/

FLOOR(DTreeACL.Permissions/POWER(2,1))%2 'SEE',
FLOOR(DTreeACL.Permissions/POWER(2,15))%2 'SEE CONTENTS',
FLOOR(DTreeACL.Permissions/POWER(2,16))%2 'Modify',
FLOOR(DTreeACL.Permissions/POWER(2,17))%2 'Edit Attributes',
FLOOR(DTreeACL.Permissions/POWER(2,2))%2 'Add Items',
FLOOR(DTreeACL.Permissions/POWER(2,13))%2 'Reserve',
FLOOR(DTreeACL.Permissions/POWER(2,14))%2 'Delete Versions',
FLOOR(DTreeACL.Permissions/POWER(2,3))%2 'Delete',
* from DTreeACL where DataID in (20462573,2118877) /*573 is the template 877 is a object spawned from it*/
and ACLType=2 /* we are comparing Group Position*/ 

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close