Namespace:  Microsoft.TeamFoundation.Integration.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub CheckPermission ( _
    objectId As String, _
    actionId As String _
)
[WebMethodAttribute]
public void CheckPermission(
    string objectId,
    string actionId
)
[WebMethodAttribute]
public:
void CheckPermission(
    String^ objectId, 
    String^ actionId
)
[<WebMethodAttribute>]
member CheckPermission : 
        objectId:string * 
        actionId:string -> unit
public function CheckPermission(
    objectId : String, 
    actionId : String
)
Parameters
- objectId
 Type: System.String
- actionId
 Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.