IAuthorizationService.IsPermitted Method (String, array<String , String)
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'Déclaration
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,
array<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: System.String
- actionId
Type: array<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.