Many HsvSecurityAccess methods take or return security identifiers (SIDs) that represent users. These security identifiers are automatically generated by Financial Management. To work with security identifiers, the following HsvSecurityAccess object methods are helpful:
GetUserSID takes a username and returns the corresponding security identifier.
GetUserName2 takes a security identifier and returns the corresponding username.
EnumUsers2 returns the security identifiers and usernames of an application’s users.