Performs an access check of the calling user's permissions on a FIM CM request.
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)

Usage

Visual Basic
Dim request As Request
Dim requestPermission As RequestPermission
Dim returnValue As Boolean

returnValue = PermissionOperations.AccessCheck(request, requestPermission)

Syntax

Visual Basic
Public Shared Function AccessCheck ( _
		request As Request, _
		requestPermission As RequestPermission _
) As Boolean
C#
public static bool AccessCheck (
		Request request,
		RequestPermission requestPermission
)
C++
public:
static bool AccessCheck (
		Request^ request, 
		RequestPermission requestPermission
)
J#
public static boolean AccessCheck (
		Request request, 
		RequestPermission requestPermission
)
JScript
public static function AccessCheck (
		request : Request, 
		requestPermission : RequestPermission
) : boolean

Parameters

request

A Request object that describes the FIM CM request on which the calling user's permissions are validated.

requestPermission

A RequestPermission value that specifies the specific permissions to validate.

Return Value

true if the calling user has the specified permissions on the specified FIM CM request; otherwise, false.

Remarks

The calling user's identity is used as the identity for which to validate the permissions.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also