Repository.QueryItemPermissions Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Декларация
<WebMethodAttribute> _
Public Function QueryItemPermissions ( _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec(), _
identityNames As String(), _
<OutAttribute> ByRef failures As List(Of Failure) _
) As List(Of ItemSecurity)
[WebMethodAttribute]
public List<ItemSecurity> QueryItemPermissions(
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs,
string[] identityNames,
out List<Failure> failures
)
[WebMethodAttribute]
public:
List<ItemSecurity^>^ QueryItemPermissions(
String^ workspaceName,
String^ workspaceOwner,
array<ItemSpec^>^ itemSpecs,
array<String^>^ identityNames,
[OutAttribute] List<Failure^>^% failures
)
[<WebMethodAttribute>]
member QueryItemPermissions :
workspaceName:string *
workspaceOwner:string *
itemSpecs:ItemSpec[] *
identityNames:string[] *
failures:List<Failure> byref -> List<ItemSecurity>
public function QueryItemPermissions(
workspaceName : String,
workspaceOwner : String,
itemSpecs : ItemSpec[],
identityNames : String[],
failures : List<Failure>
) : List<ItemSecurity>
Parameters
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- identityNames
Type: array<System.String[]
- failures
Type: System.Collections.Generic.List<Failure>%
Return Value
Type: System.Collections.Generic.List<ItemSecurity>
.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.