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