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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Additive Permissions

Status
Not open for further replies.

markorjj

IS-IT--Management
Apr 15, 2007
28
US
We have an environment where, when a user logs in, they are dropped into various folders depending on their group membership, i.e. a member of GroupA will land in the GroupA folder, a member of GroupB will land in the GroupB folder.

We now have a new requirement where users can be members of both BroupA and GroupB, in which case they would land in a third folder.

I can't figure out how to do this with standard livelink permissions; is there a 3rd-party module ort some other customization out there that will do this for me?
 
Just do something like :

Boolean isInGroupA = false
Boolean isInGroupB = false

userlist = UAPI.RightsListByID( userid )

if groupAID in userlist
isInGroupA = true
end
if groupBID in userlist
isInGroupB = true
end

if (isInGroupA) AND (isInGroupB)
user is in both
end

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top