searchdomain Users;
component    F1DOC;

codegenproperties {
   DbIndexName   "FND_USER_TIX";
   DbPackageName "FND_USER_SD";
}

mainview FND_USER;
usages {
}
mainentity   FndUser {
   title        "identity||' - '||description";
   attributes {
      indexedkey Identity    Text;
      indexed    Description Text;
      indexed    OracleUser  Text;
      indexed    WebUser     Text;
   }
   aggregates {
      array      Properties  FndUserProperty(Identity);
      array      UserGroups  UserGroupUser(Identity -> UserId);
   }
}

detail FndUserProperty {
   attributes {
      key        Identity    Text;
      key        Name        Text;
      indexed    Value       Text;
   }
   aggregates {
   }
}

detail UserGroup {
   attributes {
      key        UserGroupId Text;
      indexed    Name        Text;
   }
   aggregates {
   }
}

detail UserGroupUser {
   attributes {
      key        UserGroupId Text;
      key        UserId      Text;
   }
   aggregates {
      aggregate  Group       UserGroup(UserGroupId);
   }
}