import React, { FC } from 'react'; import { LdapUserInfo } from 'app/types'; interface Props { info: LdapUserInfo; showAttributeMapping?: boolean; } export const LdapUserMappingInfo: FC = ({ info, showAttributeMapping }) => { return (
{showAttributeMapping && } {showAttributeMapping && } {showAttributeMapping && } {showAttributeMapping && } {showAttributeMapping && }
User informationLDAP attribute
First name {info.name.ldapValue}{info.name.cfgAttrValue}
Surname {info.surname.ldapValue}{info.surname.cfgAttrValue}
Username {info.login.ldapValue}{info.login.cfgAttrValue}
Email {info.email.ldapValue}{info.email.cfgAttrValue}
); };