FirstClassElement.CheckAccess Method (Microsoft.PerformancePoint.Scorecards)
Checks if a user has access to this element.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in microsoft.performancepoint.scorecards.client.dll)
Syntax
'Declaration
Public Function CheckAccess ( _
principal As WindowsPrincipal _
) As String
'Usage
Dim instance As FirstClassElement
Dim principal As WindowsPrincipal
Dim returnValue As String
returnValue = instance.CheckAccess(principal)
public string CheckAccess (
WindowsPrincipal principal
)
Parameters
- principal
The user's security principal.
Return Value
The highest role (Editor or Reader) that this user has on this element. Returns null if the user does not have access to this element.
Remarks
This function does not check the user's server roles. A user may have additional access if they are a server administrator or power reader.
See Also
Reference
FirstClassElement Class
FirstClassElement Members
Microsoft.PerformancePoint.Scorecards Namespace