UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
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
- Page 300 and 301: Related Commands UniBasic [], FINDS
- Page 302 and 303: Parameter Description Examples In t
- Page 304 and 305: FMT Syntax FMT(expr, "len [f.char]
- Page 306 and 307: STATUS Function Return Values After
- Page 308 and 309: FOOTING Syntax FOOTING [ON num.expr
- Page 310 and 311: Related Commands UniBasic GETPTR, H
- Page 312 and 313: This program segment produces the f
- Page 314 and 315: Parameter Description Examples The
- Page 316 and 317: FUNCTION Syntax FUNCTION function.n
- Page 318 and 319: The following program calls the pre
- Page 320 and 321: GE Syntax expr1 GE expr2 Synonyms #
- Page 322 and 323: generateKey Syntax generateKey(priv
- Page 324 and 325: Return Code Status 1-286 UniBasic C
- Page 326 and 327: GET Syntax GET[X] var[,length] [SET
- Page 328 and 329: Example In the following example, t
- Page 330 and 331: Parameters The following table desc
- Page 332 and 333: getHTTPDefault Syntax getHTTPDefaul
- Page 334 and 335: GETLIST Syntax GETLIST list.name [,
- Page 336 and 337: UniData SQL SELECT - For informatio
- Page 338 and 339: STATUS Function Return Values After
- Page 340 and 341: GETQUEUE Syntax GETQUEUE() Descript
- Page 342 and 343: GETREADU Syntax GETREADU() Descript
- Page 344 and 345: getResponseHeader Syntax getRespons
- Page 346 and 347: The following table describes each
- Page 348 and 349: Parameters The following table desc
- Page 352 and 353: GETUSERNAME Syntax GETUSERNAME(uid)
- Page 354 and 355: 1-316 UniBasic Commands Reference
- Page 356 and 357: Related Commands UniBasic GOSUB, ON
- Page 358 and 359: Examples In the following example,
- Page 360 and 361: Parameter Description The replace.n
- Page 362 and 363: This next example compiles and runs
- Page 364 and 365: Related Command UniBasic GTS 1-326
- Page 366 and 367: HASH Syntax HASH(rec.key,modulo,typ
- Page 368 and 369: Parameters The following table desc
- Page 370 and 371: HUSH Syntax HUSH {ON | OFF | expr}
- Page 372 and 373: ICONV Syntax ICONV(expr,conv.code.e
- Page 374 and 375: STATUS Function Return Values After
- Page 376 and 377: 1-337 UniBasic Commands Reference
- Page 378 and 379: The following table describes vario
- Page 380 and 381: Related Command UniBasic OCONV Grou
- Page 382 and 383: Example In the following example, t
- Page 384 and 385: Parameters Description Example You
- Page 386 and 387: Parameter Description Examples In t
- Page 388 and 389: Parameter Description Example In th
- Page 390 and 391: ICONV Packed Decimal (MP1) Syntax I
- Page 392 and 393: Parameter Description Example In th
- Page 394 and 395: Example The following table describ
- Page 396 and 397: The following table lists conversio
- Page 398 and 399: ICONV Pattern Match (P) Syntax ICON
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