Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns permission information for given items.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<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.StringName of workspace if a local path is specified. Null/empty otherwise.
workspaceOwner
Type: System.StringName of workspace owner if a local path is specified. Null/empty otherwise.
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]Items to query. May specify local or server paths.
identityNames
Type: array<System.String[]If not-null, only returns permissions for these identities.
failures
Type: System.Collections.Generic.List<Failure>%Returns errors.
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.