Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't quite understand what "comment field" you are talking about, because the default Web Site Administration Tool created users don't have such fields.</p> <p>If you want to create such a field you would need to implement different <code>MembershipProvider</code> class or work with <a href="http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx" rel="nofollow">Profile properties</a></p> <p>I would recommend you to read these articles first:</p> <ul> <li><a href="http://www.4guysfromrolla.com/articles/101106-1.aspx" rel="nofollow">Examining ASP.NET's Membership, Roles, and Profile</a> </li> <li><a href="http://www.asp.net/security/tutorials/storing-additional-user-information-cs" rel="nofollow">Storing Additional User Information</a></li> </ul> <p><strong>EDIT:</strong></p> <p>For that particular "Description" field (wich I'm sure wasn't there when I was looking for it >.&lt;), it really puts data into "aspnet_Membership" table "Comment" column. You can easily access it with <a href="http://msdn.microsoft.com/en-us/library/system.web.security.membershipuser.aspx" rel="nofollow"><code>MembershipUser</code> class</a>:</p> <pre><code>@{MembershipUser user = Membership.GetUser();} @if ( user != null) { @user.Comment } </code></pre> <p>Razor syntax</p> <p><strong>EDIT</strong></p> <p><a href="http://msdn.microsoft.com/en-us/library/system.web.security.membership.getuser.aspx" rel="nofollow"><code>Membership.GetUser()</code></a> support simple overrides so you don't really need to use <code>Context.User.Identity.Name</code> as parameter for currently logged-on user.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload