In ArcGIS, user accounts determine who owns what data. User accounts also provide a way to control what type of access a person or client application has to a database or geodatabase and its datasets. ArcGIS generally recommends that the owner and schema have matching names.
The Catalog UI does the following -
// Get the currently logged user
DatabaseConnectionProperties connectionProperties= geodatabase.GetConnector() as DatabaseConnectionProperties;
string user = connectionProperties.User;
// Filter feature classes based on the user
IReadOnlyList<FeatureClassDefinition> featureClassDefinitions = geodatabase.GetDefinitions<FeatureClassDefinition>();
List<FeatureClassDefinition> filteredDefinitions = featureClassDefinitions.Where(def =>
{
SQLSyntax sqlSyntax = geodatabase.GetSQLSyntax();
(string dbName, string ownerName, string tableName) = sqlSyntax.ParseTableName(def.GetName());
return ownerName == user;
}).ToList();
If you find something else, please log a bug from tech support for further investigation.