The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
		
			|  | 
			
		
			|  | 
				
					| Create new user with security restriction  Posted: 06 Apr 09 8:06 AM
 |  
					| I want create new user with security restriction.The new user,can't modify opportunity for a condition (if one field of OPPORTUNITY TABLE is null,can modify...else can't modify).the new user can add opportunity. Is possible?
 |  
					|  |  | 
			|  |  | 
			|  | 
				
					| Re: Create new user with security restriction  Posted: 06 Apr 09 1:48 PM
 |  
					| Ok,i can create ActiveScript in Architect but what family association?In Admistrator i can set some rules of user(permission of add account,opportunity....and delete account,opportunity) but i don't find edit opportunity |  
					|  |  | 
			|  | 
				
					| Re: Create new user with security restriction  Posted: 06 Apr 09 5:50 PM
 |  
					| There are several ways of doing it. One is to create a new team - say OppSpecial - and assign the user (and any others who are subject to this condition) to it. 
 Then in the code for Opportunity Detail, include script in the OnChange event similar (in effect) to the following
 
 If (Condition) and (User in team OppSpecial) Then
 Disable Form Controls
 Else
 Enable Form Controls
 End If
 
 
 You may find the following helpful in disabling your form controls:
 
 http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=70
 
 
 |  
					|  |  | 
			|  |  | 
			|  |  | 
			|  | 
				
					| Re: Create new user with security restriction  Posted: 06 May 09 3:48 AM
 |  
					| ok,i create the FORMWRAPPER class in the OPPORTUNITY DETAIL form.Then i write in the Sub AXFormChange(Sender) : 
 frm.readonly=true
 
 In saleslogix client i can modify the opportunity detail but i don't want it.Why?
 |  
					|  |  | 
			|  |  | 
			|  | 
				
					| Re: Create new user with security restriction  Posted: 06 May 09 7:21 AM
 |  
					| yes,i have read but i don't understand what do it.I create the FORMWRAPPER class(equal to example in link) and i add the istruction for use the class.What should i do? |  
					|  |  | 
			|  |