Delen via


IGroupSecurityService.CreateApplicationGroup Method

Creates a TFS application group.

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

Syntax

'Declaration
Function CreateApplicationGroup ( _
    projectUri As String, _
    groupName As String, _
    groupDescription As String _
) As String
string CreateApplicationGroup(
    string projectUri,
    string groupName,
    string groupDescription
)
String^ CreateApplicationGroup(
    String^ projectUri, 
    String^ groupName, 
    String^ groupDescription
)
abstract CreateApplicationGroup : 
        projectUri:string * 
        groupName:string * 
        groupDescription:string -> string
function CreateApplicationGroup(
    projectUri : String, 
    groupName : String, 
    groupDescription : String
) : String

Parameters

  • projectUri
    Type: System.String

    If null or empty, the group will be created at the server scope; or the group will be created at the project scope per this parameter.

Return Value

Type: System.String
A unique identifier (SID) for the created group

.NET Framework Security

See Also

Reference

IGroupSecurityService Interface

Microsoft.TeamFoundation.Server Namespace