Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add New Permission acces (ACLS / LAPI / VB)

Status
Not open for further replies.

frankliveLink

Technical User
Feb 18, 2005
2
CA
What is the best way to add a new permission ?

New permissions are: (SEE &SEE CONTENTS & MODIFY & ADD ITEM)

I develop with VB and I use LL_SetObjectRight.

I need the syntax method call or only the bitmask representation.

Tanks
 
I believe you are looking for something like this:

Dim Permissions As Long
Permissions = LL_PERM_SEE Or LL_PERM_SEECONTENTS Or LL_PERM_MODIFY Or LL_PERM_WRITE


Status = LL_SetObjectRight(session, parentvol, parentid, LL_RIGHT_UPDATE, lngObjectID, Permissions, True)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top