Share via


ServerHelper.AreCredentialsValid method

Verifies that the specified user credentials are valid.

Namespace:  Microsoft.PerformancePoint.Scorecards.Server
Assembly:  Microsoft.PerformancePoint.Scorecards.Server (in Microsoft.PerformancePoint.Scorecards.Server.dll)

Syntax

'Declaration
Public Shared Function AreCredentialsValid ( _
    userName As String, _
    password As SecureString _
) As Boolean
'Usage
Dim userName As String
Dim password As SecureString
Dim returnValue As Boolean

returnValue = ServerHelper.AreCredentialsValid(userName, _
    password)
public static bool AreCredentialsValid(
    string userName,
    SecureString password
)

Parameters

Return value

Type: System.Boolean
true if the credentials are valid; otherwise false.

Exceptions

Exception Condition
BpmException

Thrown if the user name is not valid.

See also

Reference

ServerHelper class

ServerHelper members

Microsoft.PerformancePoint.Scorecards.Server namespace