How create user schema with collection2?


#1

I’d like use this schema as user and login it or extend form users.I
read documentation and I don’t understand how extends from users. how I
can make it with this schema?

Dipendenti = new Mongo.Collection('dipendenti');
    DipendentiSchema = new SimpleSchema({
        nome: {
            type: String
        },
        cognome:{
            type: String
        },
        codiceFiscale:{
            type: String
        },
        telefono:{
            type: String
        },
        indirizzo:{
            type: String
        }
    });
Dipendenti.attachSchema( DipendentiSchema );