TeamFoundationSecurityService.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
Public Function GetSecurityNamespace ( _
requestContext As TeamFoundationRequestContext, _
namespaceId As Guid _
) As TeamFoundationSecurityNamespace
public TeamFoundationSecurityNamespace GetSecurityNamespace(
TeamFoundationRequestContext requestContext,
Guid namespaceId
)
public:
virtual TeamFoundationSecurityNamespace^ GetSecurityNamespace(
TeamFoundationRequestContext^ requestContext,
Guid namespaceId
) sealed
abstract GetSecurityNamespace :
requestContext:TeamFoundationRequestContext *
namespaceId:Guid -> TeamFoundationSecurityNamespace
override GetSecurityNamespace :
requestContext:TeamFoundationRequestContext *
namespaceId:Guid -> TeamFoundationSecurityNamespace
public final 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 desired security namespace.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationSecurityNamespace
The ITeamFoundationSecurityNamespace instance associated with the GUID.
Implements
ITeamFoundationSecurityService.GetSecurityNamespace(TeamFoundationRequestContext, 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.