Share via


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.Guid

    The 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

See Also

Reference

SecurityWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace