SBM AppScript Reference → Programming SBM AppScript → Application Objects → Object Types → UGBase
UGBase is an object type for internal use and supports concepts useful to users and groups. UGBase objects are never merely of type UGBase; they must be of type User. The type Group also inherits from UGBase and is created when Ext.CreateAppRecord is invoked using the group's table ID.
GetDisplayName(): Returns this user's full name.
Return: (String) – The full name of this user.
Member(groupId): Find out whether a user is a member of a group.
Input: groupId (Long Integer) – TS_ID of the group to test for membership. The group ID can be looked up from its name in the TS_GROUPS table using AppRecord methods.
Return: (Long Integer) – Non-zero if this user is a member of the given group; zero if not.
UniqueName(): Get this user's login ID, which is unique.
Return: (String) – This user's login name.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.