Delen via


ITeamFoundationIdentityService.CreateScope Method

Create a scope for TFS groups (similar to Team Project scope).

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Function CreateScope ( _
    requestContext As TeamFoundationRequestContext, _
    scopeId As String, _
    scopeName As String, _
    adminGroupName As String, _
    adminGroupDescription As String _
) As IdentityDescriptor
IdentityDescriptor CreateScope(
    TeamFoundationRequestContext requestContext,
    string scopeId,
    string scopeName,
    string adminGroupName,
    string adminGroupDescription
)
IdentityDescriptor^ CreateScope(
    TeamFoundationRequestContext^ requestContext, 
    String^ scopeId, 
    String^ scopeName, 
    String^ adminGroupName, 
    String^ adminGroupDescription
)
abstract CreateScope : 
        requestContext:TeamFoundationRequestContext * 
        scopeId:string * 
        scopeName:string * 
        adminGroupName:string * 
        adminGroupDescription:string -> IdentityDescriptor
function CreateScope(
    requestContext : TeamFoundationRequestContext, 
    scopeId : String, 
    scopeName : String, 
    adminGroupName : String, 
    adminGroupDescription : String
) : IdentityDescriptor

Parameters

  • adminGroupName
    Type: System.String

    The admin group description.

Return Value

Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Descriptor of administrators group.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

Microsoft.TeamFoundation.Server.Core Namespace