Class NSUserInfo
Syntax
Constructors
NSUserInfo()
Initializes a new instance of the NSUserInfo class.
Declaration
Methods
GetCanLogon()
Declaration
Returns
Examples
NSUserInfo thing;
Bool canLogon = thing.GetCanLogon();
GetDeleted()
Declaration
Returns
Type |
Description |
Bool |
If true, the user is retired and should have no rights, not appear in lists, etc.
|
Examples
NSUserInfo thing;
Bool deleted = thing.GetDeleted();
GetEjUserId()
Declaration
Returns
Type |
Description |
Integer |
ID of the ej user record corresponding to this associate; 0 for associates that are not ej users.
|
Examples
NSUserInfo thing;
Integer ejUserId = thing.GetEjUserId();
GetGrantedLicenses()
Declaration
String[] GetGrantedLicenses()
Returns
Examples
NSUserInfo thing;
String[] grantedLicenses = thing.GetGrantedLicenses();
GetPersonId()
Declaration
Returns
Type |
Description |
Integer |
Owning person record.
|
Examples
NSUserInfo thing;
Integer personId = thing.GetPersonId();
GetRank()
Declaration
Returns
Type |
Description |
Integer |
Rank order.
|
Examples
NSUserInfo thing;
Integer rank = thing.GetRank();
GetRoleName()
Declaration
Returns
Examples
NSUserInfo thing;
String roleName = thing.GetRoleName();
Declaration
Returns
NSUserInfo thing;
String roleTooltip = thing.GetRoleTooltip();
Declaration
Returns
Type |
Description |
String |
Tooltip or other description.
|
NSUserInfo thing;
String tooltip = thing.GetTooltip();
GetUserGroupId()
Declaration
Returns
Type |
Description |
Integer |
Primary group membership, See the UserGroupLink database table reference for secondary memberships.
|
Examples
NSUserInfo thing;
Integer userGroupId = thing.GetUserGroupId();
GetUserGroupName()
Declaration
String GetUserGroupName()
Returns
Examples
NSUserInfo thing;
String userGroupName = thing.GetUserGroupName();
Declaration
String GetUserGroupTooltip()
Returns
NSUserInfo thing;
String userGroupTooltip = thing.GetUserGroupTooltip();
GetUserInfoId()
Declaration
Returns
Type |
Description |
Integer |
Primary key.
|
Examples
NSUserInfo thing;
Integer userInfoId = thing.GetUserInfoId();
GetUserName()
Declaration
Returns
Type |
Description |
String |
Initials, also login name, possibly database user name.
|
Examples
NSUserInfo thing;
String userName = thing.GetUserName();
GetUserType()
Declaration
Returns
Examples
NSUserInfo thing;
Integer userType = thing.GetUserType();
SetCanLogon(Bool)
Declaration
Void SetCanLogon(Bool canLogon)
Parameters
Type |
Name |
Description |
Bool |
canLogon |
|
Returns
Examples
NSUserInfo thing;
Bool canLogon;
thing.SetCanLogon(canLogon);
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted)
Parameters
Type |
Name |
Description |
Bool |
deleted |
If true, the user is retired and should have no rights, not appear in lists, etc.
|
Returns
Examples
NSUserInfo thing;
Bool deleted;
thing.SetDeleted(deleted);
SetEjUserId(Integer)
Declaration
Void SetEjUserId(Integer ejUserId)
Parameters
Type |
Name |
Description |
Integer |
ejUserId |
ID of the ej user record corresponding to this associate; 0 for associates that are not ej users.
|
Returns
Examples
NSUserInfo thing;
Integer ejUserId;
thing.SetEjUserId(ejUserId);
SetGrantedLicenses(String[])
Declaration
Void SetGrantedLicenses(String[] grantedLicenses)
Parameters
Type |
Name |
Description |
String[] |
grantedLicenses |
|
Returns
Examples
NSUserInfo thing;
String[] grantedLicenses;
thing.SetGrantedLicenses(grantedLicenses);
SetPersonId(Integer)
Declaration
Void SetPersonId(Integer personId)
Parameters
Type |
Name |
Description |
Integer |
personId |
Owning person record.
|
Returns
Examples
NSUserInfo thing;
Integer personId;
thing.SetPersonId(personId);
SetRank(Integer)
Declaration
Void SetRank(Integer rank)
Parameters
Type |
Name |
Description |
Integer |
rank |
Rank order.
|
Returns
Examples
NSUserInfo thing;
Integer rank;
thing.SetRank(rank);
SetRoleName(String)
Declaration
Void SetRoleName(String roleName)
Parameters
Type |
Name |
Description |
String |
roleName |
|
Returns
Examples
NSUserInfo thing;
String roleName;
thing.SetRoleName(roleName);
Declaration
Void SetRoleTooltip(String roleTooltip)
Parameters
Type |
Name |
Description |
String |
roleTooltip |
|
Returns
NSUserInfo thing;
String roleTooltip;
thing.SetRoleTooltip(roleTooltip);
Declaration
Void SetTooltip(String tooltip)
Parameters
Type |
Name |
Description |
String |
tooltip |
Tooltip or other description.
|
Returns
NSUserInfo thing;
String tooltip;
thing.SetTooltip(tooltip);
SetUserGroupId(Integer)
Declaration
Void SetUserGroupId(Integer userGroupId)
Parameters
Type |
Name |
Description |
Integer |
userGroupId |
Primary group membership, See the UserGroupLink database table reference for secondary memberships.
|
Returns
Examples
NSUserInfo thing;
Integer userGroupId;
thing.SetUserGroupId(userGroupId);
SetUserGroupName(String)
Declaration
Void SetUserGroupName(String userGroupName)
Parameters
Type |
Name |
Description |
String |
userGroupName |
|
Returns
Examples
NSUserInfo thing;
String userGroupName;
thing.SetUserGroupName(userGroupName);
Declaration
Void SetUserGroupTooltip(String userGroupTooltip)
Parameters
Type |
Name |
Description |
String |
userGroupTooltip |
|
Returns
NSUserInfo thing;
String userGroupTooltip;
thing.SetUserGroupTooltip(userGroupTooltip);
SetUserInfoId(Integer)
Declaration
Void SetUserInfoId(Integer userInfoId)
Parameters
Type |
Name |
Description |
Integer |
userInfoId |
Primary key.
|
Returns
Examples
NSUserInfo thing;
Integer userInfoId;
thing.SetUserInfoId(userInfoId);
SetUserName(String)
Declaration
Void SetUserName(String userName)
Parameters
Type |
Name |
Description |
String |
userName |
Initials, also login name, possibly database user name.
|
Returns
Examples
NSUserInfo thing;
String userName;
thing.SetUserName(userName);
SetUserType(Integer)
Declaration
Void SetUserType(Integer userType)
Parameters
Returns
Examples
NSUserInfo thing;
Integer userType;
thing.SetUserType(userType);