PmServer.IsUserInServerRole Method (Microsoft.PerformancePoint.Scorecards.Server)
Checks to see if the calling user is in a specific role.
Namespace: Microsoft.PerformancePoint.Scorecards.Server
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in microsoft.performancepoint.scorecards.server.dll)
Syntax
'Declaration
Public Function IsUserInServerRole ( _
serverRole As String _
) As Boolean
'Usage
Dim instance As PmServer
Dim serverRole As String
Dim returnValue As Boolean
returnValue = instance.IsUserInServerRole(serverRole)
public bool IsUserInServerRole (
string serverRole
)
Parameters
- serverRole
The server role to check the membership of.
Return Value
Returns true if the calling user is in the specified role.
See Also
Reference
PmServer Class
PmServer Members
Microsoft.PerformancePoint.Scorecards.Server Namespace