def main(options):
    """Obtains supported features from the license manager"""
    client = Client(server=options.server, username=options.username,
                    password=options.password)
    print('Successfully connected to %s' % client.server)
    lm_info = client.sc.licenseManager.QuerySupportedFeatures()
    for feature in lm_info:
        print('%s: %s' % (feature.featureName, feature.state))

    client.logout()
def main ( options ) : client = Client ( server = options . server , username = options . username , password = options . password ) print ( 'Successfully connected to %s' % client . server ) lm_info = client . sc . licenseManager . QuerySupportedFeatures ( ) for feature in lm_info : print ( '%s: %s' % ( feature . featureName , feature . state ) ) client . logout ( )
Obtains supported features from the license manager