Class NSUserInfo

Constructors

NSUserInfo()

Initializes a new instance of the NSUserInfo class.

Declaration

NSUserInfo

Methods

GetCanLogon()

Declaration

Bool GetCanLogon()

Examples

NSUserInfo thing;
Bool canLogon = thing.GetCanLogon();

Returns

Type Description
Bool

GetDeleted()

Declaration

Bool GetDeleted()

Examples

NSUserInfo thing;
Bool deleted = thing.GetDeleted();

Returns

Type Description
Bool If true, the user is retired and should have no rights, not appear in lists, etc.

GetEjUserId()

Declaration

Integer GetEjUserId()

Examples

NSUserInfo thing;
Integer ejUserId = thing.GetEjUserId();

Returns

Type Description
Integer ID of the ej user record corresponding to this associate; 0 for associates that are not ej users.

GetGrantedLicenses()

Declaration

String[] GetGrantedLicenses()

Examples

NSUserInfo thing;
String[] grantedLicenses = thing.GetGrantedLicenses();

Returns

Type Description
String[]

GetPersonId()

Declaration

Integer GetPersonId()

Examples

NSUserInfo thing;
Integer personId = thing.GetPersonId();

Returns

Type Description
Integer Owning person record.

GetRank()

Declaration

Integer GetRank()

Examples

NSUserInfo thing;
Integer rank = thing.GetRank();

Returns

Type Description
Integer Rank order.

GetRoleName()

Declaration

String GetRoleName()

Examples

NSUserInfo thing;
String roleName = thing.GetRoleName();

Returns

Type Description
String

GetRoleTooltip()

Declaration

String GetRoleTooltip()

Examples

NSUserInfo thing;
String roleTooltip = thing.GetRoleTooltip();

Returns

Type Description
String

GetTooltip()

Declaration

String GetTooltip()

Examples

NSUserInfo thing;
String tooltip = thing.GetTooltip();

Returns

Type Description
String Tooltip or other description.

GetUserGroupId()

Declaration

Integer GetUserGroupId()

Examples

NSUserInfo thing;
Integer userGroupId = thing.GetUserGroupId();

Returns

Type Description
Integer Primary group membership, See the UserGroupLink database table reference for secondary memberships.

GetUserGroupName()

Declaration

String GetUserGroupName()

Examples

NSUserInfo thing;
String userGroupName = thing.GetUserGroupName();

Returns

Type Description
String

GetUserGroupTooltip()

Declaration

String GetUserGroupTooltip()

Examples

NSUserInfo thing;
String userGroupTooltip = thing.GetUserGroupTooltip();

Returns

Type Description
String

GetUserInfoId()

Declaration

Integer GetUserInfoId()

Examples

NSUserInfo thing;
Integer userInfoId = thing.GetUserInfoId();

Returns

Type Description
Integer Primary key.

GetUserName()

Declaration

String GetUserName()

Examples

NSUserInfo thing;
String userName = thing.GetUserName();

Returns

Type Description
String Initials, also login name, possibly database user name.

GetUserType()

Declaration

Integer GetUserType()

Examples

NSUserInfo thing;
Integer userType = thing.GetUserType();

Returns

Type Description
Integer

SetCanLogon(Bool)

Declaration

Void SetCanLogon(Bool canLogon)

Examples

NSUserInfo thing;
Bool canLogon;
thing.SetCanLogon(canLogon);

Parameters

Type Name Description
Bool canLogon

Returns

Type Description
Void

SetDeleted(Bool)

Declaration

Void SetDeleted(Bool deleted)

Examples

NSUserInfo thing;
Bool deleted;
thing.SetDeleted(deleted);

Parameters

Type Name Description
Bool deleted If true, the user is retired and should have no rights, not appear in lists, etc.

Returns

Type Description
Void

SetEjUserId(Integer)

Declaration

Void SetEjUserId(Integer ejUserId)

Examples

NSUserInfo thing;
Integer ejUserId;
thing.SetEjUserId(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

Type Description
Void

SetGrantedLicenses(String[])

Declaration

Void SetGrantedLicenses(String[] grantedLicenses)

Examples

NSUserInfo thing;
String[] grantedLicenses;
thing.SetGrantedLicenses(grantedLicenses);

Parameters

Type Name Description
String[] grantedLicenses

Returns

Type Description
Void

SetPersonId(Integer)

Declaration

Void SetPersonId(Integer personId)

Examples

NSUserInfo thing;
Integer personId;
thing.SetPersonId(personId);

Parameters

Type Name Description
Integer personId Owning person record.

Returns

Type Description
Void

SetRank(Integer)

Declaration

Void SetRank(Integer rank)

Examples

NSUserInfo thing;
Integer rank;
thing.SetRank(rank);

Parameters

Type Name Description
Integer rank Rank order.

Returns

Type Description
Void

SetRoleName(String)

Declaration

Void SetRoleName(String roleName)

Examples

NSUserInfo thing;
String roleName;
thing.SetRoleName(roleName);

Parameters

Type Name Description
String roleName

Returns

Type Description
Void

SetRoleTooltip(String)

Declaration

Void SetRoleTooltip(String roleTooltip)

Examples

NSUserInfo thing;
String roleTooltip;
thing.SetRoleTooltip(roleTooltip);

Parameters

Type Name Description
String roleTooltip

Returns

Type Description
Void

SetTooltip(String)

Declaration

Void SetTooltip(String tooltip)

Examples

NSUserInfo thing;
String tooltip;
thing.SetTooltip(tooltip);

Parameters

Type Name Description
String tooltip Tooltip or other description.

Returns

Type Description
Void

SetUserGroupId(Integer)

Declaration

Void SetUserGroupId(Integer userGroupId)

Examples

NSUserInfo thing;
Integer userGroupId;
thing.SetUserGroupId(userGroupId);

Parameters

Type Name Description
Integer userGroupId Primary group membership, See the UserGroupLink database table reference for secondary memberships.

Returns

Type Description
Void

SetUserGroupName(String)

Declaration

Void SetUserGroupName(String userGroupName)

Examples

NSUserInfo thing;
String userGroupName;
thing.SetUserGroupName(userGroupName);

Parameters

Type Name Description
String userGroupName

Returns

Type Description
Void

SetUserGroupTooltip(String)

Declaration

Void SetUserGroupTooltip(String userGroupTooltip)

Examples

NSUserInfo thing;
String userGroupTooltip;
thing.SetUserGroupTooltip(userGroupTooltip);

Parameters

Type Name Description
String userGroupTooltip

Returns

Type Description
Void

SetUserInfoId(Integer)

Declaration

Void SetUserInfoId(Integer userInfoId)

Examples

NSUserInfo thing;
Integer userInfoId;
thing.SetUserInfoId(userInfoId);

Parameters

Type Name Description
Integer userInfoId Primary key.

Returns

Type Description
Void

SetUserName(String)

Declaration

Void SetUserName(String userName)

Examples

NSUserInfo thing;
String userName;
thing.SetUserName(userName);

Parameters

Type Name Description
String userName Initials, also login name, possibly database user name.

Returns

Type Description
Void

SetUserType(Integer)

Declaration

Void SetUserType(Integer userType)

Examples

NSUserInfo thing;
Integer userType;
thing.SetUserType(userType);

Parameters

Type Name Description
Integer userType See <xref href="CRMScript.NetServer.AssociateType" data-throw-if-not-resolved="false"></xref>.

Returns

Type Description
Void