UGBase Member() Method

Used to determine whether a user is a member of a group.

Function Signature

 bool Member( id )

Parameters

Parameter Type Description

id

int

If object is a User, TS_ID of the group to test for membership. If object is a Group, TS_ID of the user to test for membership.

Return

Type Description

bool

True if the user belongs to the group.

Technical Details

SBM ModScript version: 11.3.

Example

Ext.WriteStream( Shell.User().Member( 6 ).to_string() ); 

Result:

true

Notes

None.

Related Topics

UGBase