Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:user:update_user_flags [19/02/2013 08:05]
zuve
en:sidebar:remoteapi:apiref:user:update_user_flags [19/06/2013 14:07]
zuve
Line 27: Line 27:
 --> -->
 </​html>​ </​html>​
 +
 +
 +**The example of using mask and user settings flags:**
 +
 +We need to allow user changing password (0x02), to forbid changing settings(0x10),​ and all the other flags leave without changes. In such case **mask will be 0<​nowiki>​x</​nowiki>​2 + 0<​nowiki>​x</​nowiki>​10 = 0<​nowiki>​x</​nowiki>​12**. Flag 0<​nowiki>​x</​nowiki>​02 must be removed, and flag 0<​nowiki>​x</​nowiki>​10 must be set, therefore **parameter flag will be 0<​nowiki>​x</​nowiki>​10**.
  
 ===== Response ===== ===== Response =====
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam