Hi ALL Please Please help

If anyone can help me with my problem I would be over the moon, the problem is
Say I want to map a drive using group names I would use the following IF INGROUP("Group name") but say I want to use organisation units instead of Groups is that possible and if so want is the code

Thanks lots

Johnny