+ Start a Discussion
Atla MasthanaiahAtla Masthanaiah 


I have one profile. It contain A, B, C RecordTypes and two users( U1,  U2). one user (U1) access (A,  B , C)all record types and another user (U2) Not access (A, B) all record types.But User (U2) access ( C )  recordType how to achive it (Through Programing)

Deepak Pandey 13Deepak Pandey 13
try like this -
if(enstant.user == 'u1')
  show all record type
else if(enstant.user == 'u2')
  if(recordtype.name !='a' || recordtype.name != 'b')
show then list.