Desktop version

Main > Forum > 1C:Enterprise Platform > Studying 1C:Enterprise platform > Setting PrivilegedMode In Client

Forum

Search UsersRules
Setting PrivilegedMode In Client
#1
Interested
Points:: 0
Joined:: Apr 5, 2012

Hi.

I have a code that work OnSarting the system.
In that code Opening some form. In system there are much Roles (so I don't want to specify for each role availibility of that form).

As at server function or prosedür I can use method SetPrivilegedMode, but at client it's not working. I just want to set PrivilegedMode at client for opening the common form.

Code
Procedure SelamlamaMesajİşlemleri() Export 

   CariTarih = CurrentDate();
   
   If BaşlangıçModülü_Sunucu_Hr.SelamlamaMesajKontrolü(CariTarih) Then
      
      Formumuz = OpenForm("CommonForm.ProgramaGirişteKarşılamaFormu", , , 
                           WindowOpenVariant.SingleWindow);
      
      AttachNotificationHandler("glGenelNotificationProsedürü");
      
   EndIf;              
   
EndProcedure

Profile
#2
Interested
Points:: 0
Joined:: Apr 5, 2012

Is there a way to do that? Or I should specify availibility of form for each role?

Profile
#3
Just came
Points:: 0
Joined:: Sep 3, 2012

Yes, you should specify availability for each role, or create separate role for this purpose.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.