Share via


PmService.IsUserInServerRole Method (Microsoft.PerformancePoint.Scorecards.Server)

Checks to see if the calling user is in a supplied role.

Namespace: Microsoft.PerformancePoint.Scorecards.Server
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in microsoft.performancepoint.scorecards.server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function IsUserInServerRole ( _
    serverRole As String _
) As Boolean
'Usage
Dim instance As PmService
Dim serverRole As String
Dim returnValue As Boolean

returnValue = instance.IsUserInServerRole(serverRole)
[WebMethodAttribute] 
public bool IsUserInServerRole (
    string serverRole
)

Parameters

  • serverRole
    The server role to check the membership of.

Return Value

True, if the calling user is in the specified role.

See Also

Reference

PmService Class
PmService Members
Microsoft.PerformancePoint.Scorecards.Server Namespace