def get_member_ibutton(self, val):
        """Get a CSHMember object.

        Arguments:
        val -- the iButton ID of the member

        Returns:
        None if the iButton supplied does not correspond to a CSH Member
        """
        members = self.__con__.search_s(
            CSHMember.__ldap_user_ou__,
            ldap.SCOPE_SUBTREE,
            "(ibutton=%s)" % val,
            ['ipaUniqueID'])
        if members:
            return CSHMember(
                    self,
                    members[0][1]['ipaUniqueID'][0].decode('utf-8'),
                    False)
        return None
def get_member_ibutton ( self , val ) : members = self . __con__ . search_s ( CSHMember . __ldap_user_ou__ , ldap . SCOPE_SUBTREE , "(ibutton=%s)" % val , [ 'ipaUniqueID' ] ) if members : return CSHMember ( self , members [ 0 ] [ 1 ] [ 'ipaUniqueID' ] [ 0 ] . decode ( 'utf-8' ) , False ) return None
Get a CSHMember object.

        Arguments:
        val -- the iButton ID of the member

        Returns:
        None if the iButton supplied does not correspond to a CSH Member