person.model.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Password Management Servlets (PWM)
  3. * http://www.pwm-project.org
  4. *
  5. * Copyright (c) 2006-2009 Novell, Inc.
  6. * Copyright (c) 2009-2021 The PWM Project
  7. *
  8. * Licensed under the Apache License, Version 2.0 (the "License");
  9. * you may not use this file except in compliance with the License.
  10. * You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. export interface IPerson {
  21. // Common properties
  22. userKey?: string;
  23. numDirectReports?: number;
  24. // Autocomplete properties (via Search)
  25. _displayName?: string;
  26. // Details properties (not available in search)
  27. detail?: any;
  28. displayNames?: string[];
  29. photoURL?: string;
  30. links?: any[];
  31. // Search properties (not available in details)
  32. givenName?: string;
  33. mail?: string;
  34. sn?: string;
  35. telephoneNumber?: string;
  36. title?: string;
  37. }