ITeamFoundationSecurityService.GetSecurityNamespace Method
Returns the TeamFoundationSecurityNamespace instance associated with the guid. Null will be returned if the guid does not have an associated ITeamFoundationSecurityNamespace.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function GetSecurityNamespace ( _
requestContext As TeamFoundationRequestContext, _
namespaceId As Guid _
) As TeamFoundationSecurityNamespace
TeamFoundationSecurityNamespace GetSecurityNamespace(
TeamFoundationRequestContext requestContext,
Guid namespaceId
)
TeamFoundationSecurityNamespace^ GetSecurityNamespace(
TeamFoundationRequestContext^ requestContext,
Guid namespaceId
)
abstract GetSecurityNamespace :
requestContext:TeamFoundationRequestContext *
namespaceId:Guid -> TeamFoundationSecurityNamespace
function GetSecurityNamespace(
requestContext : TeamFoundationRequestContext,
namespaceId : Guid
) : TeamFoundationSecurityNamespace
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context for the current request.
namespaceId
Type: System.GuidThe guid of the securityNamespace desired.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationSecurityNamespace
The ITeamFoundationSecurityNamespace instance associated with the guid.
.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.