SBM ModScript Reference → Programming SBM ModScript → Object Types → UGBase → UGBase Member() Method
Used to determine whether a user is a member of a group.
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. |
Type | Description |
---|---|
bool |
True if the user belongs to the group. |
SBM ModScript version: 11.3.
Ext.WriteStream( Shell.User().Member( 6 ).to_string() );
Result:
true
None.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.