OAuthWebSecurity.HasLocalAccount Method
Indicates whether the user has local account.
Namespace: Microsoft.Web.WebPages.OAuth
Assembly: Microsoft.Web.WebPages.OAuth (in Microsoft.Web.WebPages.OAuth.dll)
Syntax
'Declaration
Public Shared Function HasLocalAccount ( _
userId As Integer _
) As Boolean
'Usage
Dim userId As Integer
Dim returnValue As Boolean
returnValue = OAuthWebSecurity.HasLocalAccount(userId)
public static bool HasLocalAccount(
int userId
)
public:
static bool HasLocalAccount(
int userId
)
static member HasLocalAccount :
userId:int -> bool
public static function HasLocalAccount(
userId : int
) : boolean
Parameters
- userId
Type: System.Int32
The user ID.
Return Value
Type: System.Boolean
true if the user has local account; otherwise, false.