Infoblox::LDAP::EA_Mapping - An LDAP Extensible Attribute Mapping object.


NAME

Infoblox::LDAP::EA_Mapping - An LDAP Extensible Attribute Mapping object.


DESCRIPTION

Mapping of LDAP field to Extensible Attribute.


CONSTRUCTOR

 my $ea_mapping = Infoblox::LDAP::EA_Mapping->new(
    attr_name    => $string,
    ext_attr_def => $attr_def,                     # An Infoblox::Grid::ExtensibleAttributeDef object
 );


SESSION METHODS

The LDAP Extensible Attribute Mapping object does not support any session methods.


METHODS

This section describes all the methods that you can use to configure and retrieve the attribute values of an LDAP Extensible Attribute Mapping object.

attr_name( )

Use this method to set or retrieve the name of an LDAP attribute.

Parameter

The name of an LDAP attribute in string format.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get attribute value
 my $value = $ea_mapping->attr_name();
 #Modify attribute value
 $ea_mapping->attr_name('homephone');

ext_attr_def( )

Use this method to set or retrieve the definition of an extensible attribute.

Parameter

An Infoblox::Grid::ExtensibleAttributeDef object.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 #Get attribute value
 my $value = $ea_mapping->ext_attr_def();
 #Modify attribute value
 $ea_mapping->ext_attr_def($attr_def);


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::LDAP::AuthService, Infoblox::Grid::ExtensibleAttributeDef


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.