This documentation is archived and is not being maintained.

ISecurityService.CreateSecurityNamespace Method

Creates a SecurityNamespace that is based off of the provided information.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

function CreateSecurityNamespace(
	description : SecurityNamespaceDescription
) : SecurityNamespace

Parameters

description
Type: Microsoft.TeamFoundation.Framework.Client.SecurityNamespaceDescription

The description to create the namespace from.

ExceptionCondition
InvalidSecurityNamespaceDescriptionException

Thrown if the SecurityNamespaceDescription does not pass validation for some reason.

SecurityNamespaceAlreadyExistsException

Thrown if a SecurityNamespace already exists with id of the description passed in.

Show: