Gets the cached MembershipUser.
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static MembershipUser GetMembershipUser(
this IPrincipal user
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function GetMembershipUser (
user As IPrincipal
) As MembershipUser |
Visual C++ |
---|
public:
[ExtensionAttribute]
static MembershipUser^ GetMembershipUser(
IPrincipal^ user
) |
F# |
---|
static member GetMembershipUser :
user : IPrincipal -> MembershipUser
|
Return Value
Type:
MembershipUserMembershipUser
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPrincipal. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also