SecurityWebService.QuerySecurityNamespaces Method
Returns information about the security namespace that corresponds to the namespaceId being queried. Note that if namespaceId is equal to Guid.Empty, descriptions for all of the security namespaces will be returned.
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QuerySecurityNamespaces ( _
namespaceId As Guid _
) As List(Of SecurityNamespaceDescription)
[WebMethodAttribute]
public List<SecurityNamespaceDescription> QuerySecurityNamespaces(
Guid namespaceId
)
[WebMethodAttribute]
public:
List<SecurityNamespaceDescription^>^ QuerySecurityNamespaces(
Guid namespaceId
)
[<WebMethodAttribute>]
member QuerySecurityNamespaces :
namespaceId:Guid -> List<SecurityNamespaceDescription>
public function QuerySecurityNamespaces(
namespaceId : Guid
) : List<SecurityNamespaceDescription>
Parameters
namespaceId
Type: System.GuidThe guid of the SecurityNamespace whose definition is to be queried. If this parameter is equal to Guid.Empty, SecurityNamespaceDefinitions for all of the namespaces will be returned.
Return Value
Type: System.Collections.Generic.List<SecurityNamespaceDescription>
A SecurityNamespaceDescription for the requested namespace(s).
.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.