11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GETUSERGROUP<br />

Syntax<br />

GETUSERGROUP(uid)<br />

Description<br />

For UNIX, the <strong>UniBasic</strong> GETUSERGROUP function returns the group number for<br />

the user ID you specify by uid. For Windows platforms, it returns 0.<br />

Examples<br />

In the following example, the program statement assigns the user group to variable X:<br />

X = GETUSERGROUP(@UID)<br />

In the next example, the program statement assigns the user group for 1023 to<br />

variable X:<br />

X = GETUSERGROUP(1023)<br />

Related <strong>Commands</strong><br />

<strong>UniBasic</strong><br />

GETUSERID, GETUSERNAME<br />

1-312 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!