RequestOperations.Deny Method
Denies a FIM CM request.
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in Microsoft.Clm.Provision.dll)
Usage
'Usage
Dim request As Request
Dim comment As String
Dim returnValue As Request
returnValue = RequestOperations.Deny(request, comment)
Syntax
'Declaration
Public Shared Function Deny ( _
request As Request, _
comment As String _
) As Request
public static Request Deny (
Request request,
string comment
)
public:
static Request^ Deny (
Request^ request,
String^ comment
)
public static Request Deny (
Request request,
String comment
)
public static function Deny (
request : Request,
comment : String
) : Request
Parameters
- request
A Request object that describes the FIM CM request to be denied. The status of the FIM CM request must be Pending.
- comment
A String object that contains a comment to be included in the history of the FIM CM request. Set this parameter to Null for no comment.
Return Value
The Request object after it has been denied by the current user. The status of the FIM CM request is set to Denied.
Remarks
The following permissions are checked when this method is called:
The current user must have Read permissions on the profile template.
The current user must be listed as an Approver in the profile template policy settings.
A denied FIM CM request cannot be resumed.
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
Reference
RequestOperations Class
RequestOperations Members
Microsoft.Clm.Provision Namespace
Request