title: alternatives to User.Identity.Name
body: <p>Afternoon all,</p>
  
  <p>Im am displaying the username on a web page to state who has locked the web page for editing.  I am using the following code...</p>
  
  <pre><code>  If String.IsNullOrEmpty(lock.LockedBy) Then
  
           lock.LockedBy = User.Identity.Name
           hdnIsLockedBy.Value = User.Identity.Name
           lock.AgendaID = Integer.Parse(lblAgendaNumber.Text)
  
    End If
  </code></pre>
  
  <p>I understand that User.Identity.Name brings back the Domain\Name.  I was wondering if i can just pull back the name of the user only as i cant see any suitable alternatives?  </p>
  
  <p>Regards
  Betty </p>