Retrieving the user’s Active Directory attributes

The LoginUser object offers a single method, Get(), that can retrieve any one of the current user’s Active Directory attributes. It takes as its argument a string that specifies the name of the attribute to retrieve. LoginUser.Get(“mail”), for example, returns the user’s email address as stored in Active Directory.