让userId = Auth.auth()。currentUser?.uid Database.database()。reference()。child(" Employess")。child(userId!)。observeSingleEvent(of:。value,with:{(snapshot)in
// Get user value
let value = snapshot.value as? NSDictionary
//print(value)
let Name = value?["name"] as? String
print(Name)
// ...
}) { (error) in
print(error.localizedDescription)
}