Skip to main content
Sudesh S 님이 #Security에 질문했습니다
How to restrict Create New record access in Account object based on Profile?

 

Ex : user from profile1 only allowed to create New Account for country US. 

 

user from profile2 only allowed to create New Account for country Canada.

 

Can this be done by Validation Rule?

 

 
답변 10개
  1. 2018년 7월 13일 오후 6:03
    Like this:

     

    OR( AND(  ISNEW(),

     

                      TEXT(Country)<>'US',

     

                      $Profile.Name='Profile 1' 

     

                     ),

     

    AND( ISNEW(),

     

             TEXT(Country)<>'Canada',

     

              $Profile.Name='Profile 2' 

     

             )

     

    )
0/9000