Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
userName
Type: System.StringThe user name.
password
Type: System.Security.SecureStringThe password.
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. |