Type in the words(s) to search for:

Mark results
    Userbooster Help

    Startparameter

    Startparameter erlauben die Ausführung des Programms im so genannten unbeaufsichtigtem Modus. Das bedeutet, alle Aktionen werden über die Kommandozeile definiert.

    Der Aufruf lautet:

    UBProfessionel.exe /Mode:FILE /Profile:maxcrc /AttributeCategory:loginProperties /Outfile:LoginProperties.xml
                      /Css:Report.css /Xsl:reportlist.xsl /Logo:CompanyLogo.jpg /Servertype:Microsoft
          

    Folgende Optionen sind möglich:

    config

    gestattet die Übergabe einer Konfiguratiosndatei, statt der einzelnen Parameter

    outfile

    definier die Ausgabedatei. Die extenesion steuert das entsprechende Ausgabeformat. Folgende Formate werden derzeit unterstützt:

    • .xls – MS Excel

    • .csv – Comma Separated Value Format

    • .ldif – Lightweight Directory Interchange Format

    • .xml – Extended Markup Language Format

    servertype

    definiert den Hersteller. Folgende Werte sind möglich:

    • Microsoft

    • Novell

    • Linux

    css

    definiert die verwendete Style Sheet Datei, nur notwendig bei der Verwendung von XML

    xsl

    definiert die jeweilige Transform-Datei, nur notwendig bei der Verwendung von XML

    logo

    definiert ein grafiksymbol, nur notwendig bei der Verwendung von XML

    mode

    definiert die Richtung des Exports, mögliche Werte:

    • LDAP

    • FILE

    LDAP – die unter outfile angegebene Datei wird für den Export in den Verzeichnisidienst verwendet. Dabei werden die Angaben unter profile verwendet, es werden die Attribute berücksichtigt, die unter AttributeCategory angegeben worden sind.

    FILE – die unter outfile angegebene Datei wird füt den Export in das Dateisystem verwendet. Dabei werden die Angaben unter profile verwendet, es werden die Attribute berücksichtigt, die unter AttributeCategory angegeben worden sind.

    AttributeCategory

    definiert die Attributes, welche in der aktuellen Anfrage berücksichtigt werden

    profile

    definiert die Verbindungsinformationen, welche aus der Konfigurationsdatei ub.xml stammen

    ubxml

    definiert den Ablageort der Konfigurationsdatei (optional)

    Es werden bei der Angabe der Ausgabedatei so genannte Platzhalter unterstützt.

    %Y – aktuelles Jahr

    %m – aktueller Monat

    %D – aktueller Tag

    %H – aktuelle Stunde

    %M – aktuelle Minute

    %S – aktuelle Sekunde

    Beispiel

    Um den Export automatisch zu archivieren, wäre folgende Formatierung denkbar:

    /outfile:<Dir>\/outfile:arch-%YYYY-%MM-%DDT%hh-%mm_Login.xml
            

    Beispiel einer Export Konfigurationsdatei

    #
    # UBProfessional example configuration
    #
    #
    # Comments:
    # lines beginning with # or // are treaded as comments
    # however, you cannot start a comment within a line!
    #
    #
    # You can use this config file by passing /config:<filename> to the executable. Concurring
    # parameters given at the command prompt will override parameters given here!
    #
    #
    # Every parameter supports the following meta-strings:
    #
    # %Y - current year
    # %m - current month
    # %D - current day
    #
    # %H - current hour
    # %M - current minute
    # %S - current second
    #
    # mode of the export definition to use
    # available values: FILE, LDAP
    #
    mode=FILE
    #
    # Name of the file to generate.
    # the filename extension is used to determine the output format (xls, ldif, csv, xlm)
    # the path to the output file will be created if it does not exist.
    #
    outfile = demo%YYYY-%MM-%DDT%hh-%mm-%ss/loginproperties.xml
    ####### xml configuration options
    #
    # additional settings, when using xml output format.
    #
    css = <name of="" css="" file="">
    xsl = <name of="" xsl="" file="" >
    logo = <name of="" logo="" file="" >
    #
    # name of the profile, you must configure in the user interface of UBProfessional
    #
    profile = maxcrc
    #
    # amount of attributes collected in the category name, you have to create the category in the user 
    # interface first
    #
    attributeCategory = loginPproperties
    #
    # the configuration file parameter is optional. If no value is defined, the search order looking for the file ub.xml is as follows: 
    # 
    # 1. Local program folder of UBProfessional.exe
    # 2. All path entries defined be the environment value ‘path’
    # 
    # ubxml = C:\Programmes\ublight\ub.xml
    #