Problem Note 65288: The metadata_setassn function does not successfully remove a user from a group even though the return code is 0 when you use the Chinese locale
If you use the Chinese locale (zh=Chinese) and try to remove a user from a group with the metadata_setassn function, the user might not be successfully removed from the group. In this scenario, a return code of 0 appears, but the user is not removed.
For example, you would encounter this issue if you ran code similar to the following:
rc = metadata_setassn("omsobj:Person\&personId", "IdentityGroups", "Remove", "omsobj:IdentityGroup\&groupId");
The same code in SAS® 9.4M1 (TS1M1) removes the user from the group correctly.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Metadata Server | 64-bit Enabled AIX | 9.4_M6 | 9.4_M6 | 9.4 TS1M6 | 9.4 TS1M7 |
64-bit Enabled Solaris | 9.4_M6 | 9.4_M6 | 9.4 TS1M6 | 9.4 TS1M7 |
HP-UX IPF | 9.4_M6 | 9.4_M6 | 9.4 TS1M6 | 9.4 TS1M7 |
Linux for x64 | 9.4_M6 | 9.4_M6 | 9.4 TS1M6 | 9.4 TS1M7 |
Solaris for x64 | 9.4_M6 | 9.4_M6 | 9.4 TS1M6 | 9.4 TS1M7 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When you use the Chinese locale, the metadata_setassn function gives a return code=0 but the user is not successfully removed from the group.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-09-25 14:48:19 |
Date Created: | 2020-01-02 09:58:21 |