Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
声明
Function IsPermitted ( _
    objectId As String(), _
    actionId As String, _
    userSid As String _
) As Boolean()
bool[] IsPermitted(
    string[] objectId,
    string actionId,
    string userSid
)
array<bool>^ IsPermitted(
    array<String^>^ objectId, 
    String^ actionId, 
    String^ userSid
)
abstract IsPermitted : 
        objectId:string[] * 
        actionId:string * 
        userSid:string -> bool[] 
function IsPermitted(
    objectId : String[], 
    actionId : String, 
    userSid : String
) : boolean[]
Parameters
- objectId
Type: array<System.String[] 
- actionId
Type: System.String 
- userSid
Type: System.String 
Return Value
Type: array<System.Boolean[]
.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.