def GetInfo(userName=None):
 if (userName is None):
  userName = win32api.GetUserName()
 print 'Dumping level 3 information about user'
 info = win32net.NetUserGetInfo(server, userName, 3)
 for (key, val) in info.items():
  verbose(('%s=%s' % (key, val)))

def GetInfo ( userName = None ) : if ( userName is None ) : userName = win32api . GetUserName ( ) print 'Dumping level 3 information about user' info = win32net . NetUserGetInfo ( server , userName , 3 ) for ( key , val ) in info . items ( ) : verbose ( ( '%s=%s' % ( key , val ) ) )
dumps level 3 information about the current user .