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