NET :: LDAP :: Control :: VLV

NET :: LDAP :: Control :: VLV es un objeto de control VER LISTA VIRTUAL LDAPV3.
Descargar ahora

NET :: LDAP :: Control :: VLV Clasificación y resumen

Anuncio publicitario

  • Rating:
  • Licencia:
  • Perl Artistic License
  • Precio:
  • FREE
  • Nombre del editor:
  • Graham Barr
  • Sitio web del editor:
  • http://search.cpan.org/~gbarr/

NET :: LDAP :: Control :: VLV Etiquetas


NET :: LDAP :: Control :: VLV Descripción

NET :: LDAP :: Control :: VLV es un objeto de control VER LISTA VIRTUAL LDAPV3. NET :: LDAP :: Control :: VLV es una LDAPV3 VER LISTA VIRTUAL CONTROBLE OBJETE.SYNOPSIS Use NET :: LDAP; Usa NET :: LDAP :: Control :: VLV; Utilice NET :: LDAP :: Constant QW (LDAP_CONTROL_VLVRESPONSE); $ ldap = net :: ldap-> nuevo ("ldap.mydomain.eg"); # Obtenga las primeras 20 entradas $ VLV = NET :: LDAP :: Control :: VLV-> Nuevo (antes => 0, # No hay entradas desde antes de la entrada de destino después de => 19, # 19 entradas después de la entrada de destino contenido => 0 , # Tamaño de lista Desconocido desconocido => 1, # La entrada de destino es la primera); $ Sort = Net :: LDAP :: Control :: Sort-> Nuevo (Order => 'CN'); @args = (base => "o = industria de as, c = nosotros", alcance => "subárbol", filtro => "(objectclass = inetorgperson)", callback => process_entry, # Llame a este sub por cada control de entrada = > ,); $ MESG = $ LDAP-> Búsqueda (@Args); # Obtenga el control de respuesta VLV ($ resp) = $ MESG-> Control (LDAP_CONTROL_VLVRESPONSE) O MORE; $ vlv-> respuesta ($ resp); # Establezca el control para obtener las últimas 20 entradas $ VLV-> Fin; $ MESG = $ LDAP-> Búsqueda (@Args); # Obtenga el control de respuesta VLV ($ resp) = $ MESG-> Control (LDAP_CONTROL_VLVRESPONSE) O MORE; $ vlv-> respuesta ($ resp); # Ahora obtenga la página anterior $ VLV-> Scroll_Page (-1); $ MESG = $ LDAP-> Búsqueda (@Args); # Obtenga el control de respuesta VLV ($ resp) = $ MESG-> Control (LDAP_CONTROL_VLVRESPONSE) O MORE; $ vlv-> respuesta ($ resp); # Ahora página con la primera entrada comenzando con "B" en el Medio $ VLV-> antes (9); # Cambiar la página para mostrar 9 antes de $ VLV-> después de (10); # Cambiar página para mostrar 10 después de $ VLV-> Asert ("B"); # Assert "B" $ MESG = $ LDAP-> Buscar (@Args); Requisitos: · Perl


NET :: LDAP :: Control :: VLV Software relacionado

Neem

Neem es una biblioteca que proporciona una implementación de la multidifusión epidémica. ...

148

Descargar