This is an old revision of the document!


Set user settings flags

To set user flags (additional properties), use the command user/update_user_flags:

svc=user/update_user_flags&params={"userId":<long>,
				   "flags":<uint>,
				   "flagsMask":<uint>}

Parameters

Name Description
userId user ID
flags settings flags
flagsMask mask that determines which bits will be changed

User settings flags:

Value Description
0x01 User disabled
0x02 Can't change password
0x04 Can create items
0x08 Skip ACL propagation
0x10 Can't change settings
0x20 Can send SMS

Response

{
	"fl":<uint>	/* flags */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam