UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

GETUSERGROUP Syntax GETUSERGROUP(uid) Description For UNIX, the UniBasic GETUSERGROUP function returns the group number for the user ID you specify by uid. For Windows platforms, it returns 0. Examples In the following example, the program statement assigns the user group to variable X: X = GETUSERGROUP(@UID) In the next example, the program statement assigns the user group for 1023 to variable X: X = GETUSERGROUP(1023) Related Commands UniBasic GETUSERID, GETUSERNAME 1-312 UniBasic Commands Reference

GETUSERID Syntax GETUSERID(user.name) Description The UniBasic GETUSERID function returns the user ID for a user name. For UNIX, this is the system-recognized user ID. For Windows platforms, the returned user ID is meaningful in UniData only. Example In the following example, the program statement assigns the user ID for “John” to variable X: X = GETUSERID("John") Related Commands UniBasic GETUSERGROUP, GETUSERNAME 1-313

GETUSERID<br />

Syntax<br />

GETUSERID(user.name)<br />

Description<br />

The <strong>UniBasic</strong> GETUSERID function returns the user ID for a user name. For UNIX,<br />

this is the system-recognized user ID. For Windows platforms, the returned user ID<br />

is meaningful in UniData only.<br />

Example<br />

In the following example, the program statement assigns the user ID for “John” to<br />

variable X:<br />

X = GETUSERID("John")<br />

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

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

GETUSERGROUP, GETUSERNAME<br />

1-313

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

Saved successfully!

Ooh no, something went wrong!