Partager via


ITeamFoundationIdentityService.CreateApplicationGroup Method (TeamFoundationRequestContext, String, String, String, Boolean, Boolean)

Creates a TFS application group.

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

Syntax

'Declaration
Function CreateApplicationGroup ( _
    requestContext As TeamFoundationRequestContext, _
    projectUri As String, _
    groupName As String, _
    groupDescription As String, _
    scopeLocal As Boolean, _
    hasRestrictedVisibility As Boolean _
) As TeamFoundationIdentity
TeamFoundationIdentity CreateApplicationGroup(
    TeamFoundationRequestContext requestContext,
    string projectUri,
    string groupName,
    string groupDescription,
    bool scopeLocal,
    bool hasRestrictedVisibility
)
TeamFoundationIdentity^ CreateApplicationGroup(
    TeamFoundationRequestContext^ requestContext, 
    String^ projectUri, 
    String^ groupName, 
    String^ groupDescription, 
    bool scopeLocal, 
    bool hasRestrictedVisibility
)
abstract CreateApplicationGroup : 
        requestContext:TeamFoundationRequestContext * 
        projectUri:string * 
        groupName:string * 
        groupDescription:string * 
        scopeLocal:bool * 
        hasRestrictedVisibility:bool -> TeamFoundationIdentity
function CreateApplicationGroup(
    requestContext : TeamFoundationRequestContext, 
    projectUri : String, 
    groupName : String, 
    groupDescription : String, 
    scopeLocal : boolean, 
    hasRestrictedVisibility : boolean
) : TeamFoundationIdentity

Parameters

  • groupDescription
    Type: System.String

    Can group can contain groups from different scope? (for example project groups can only contain project groups from same project.)

Return Value

Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
IdentityDescriptor for the created group.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

CreateApplicationGroup Overload

Microsoft.TeamFoundation.Server.Core Namespace