ProfileEntity.UserId Property

Gets or sets the user ID.

Namespace:  System.Web.Providers.Entities
Assembly:  System.Web.Providers (in System.Web.Providers.dll)

Syntax

'Declaration
<KeyAttribute> _
<ForeignKeyAttribute("User")> _
Public Property UserId As Guid 
    Get 
    Set
'Usage
Dim instance As ProfileEntity 
Dim value As Guid 

value = instance.UserId

instance.UserId = value
[KeyAttribute]
[ForeignKeyAttribute("User")]
public Guid UserId { get; set; }
[KeyAttribute]
[ForeignKeyAttribute(L"User")]
public:
property Guid UserId {
    Guid get ();
    void set (Guid value);
}
[<KeyAttribute>]
[<ForeignKeyAttribute("User")>]
member UserId : Guid with get, set
function get UserId () : Guid 
function set UserId (value : Guid)

Property Value

Type: System.Guid
The user ID.

See Also

Reference

ProfileEntity Class

System.Web.Providers.Entities Namespace

Other Resources

ASP.NET Identity