TeamFoundationIdentityService.CreateApplicationGroup Method (TeamFoundationRequestContext, String, String, String, Boolean, Boolean)
Creates a TFS application group.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CreateApplicationGroup ( _
requestContext As TeamFoundationRequestContext, _
projectUri As String, _
groupName As String, _
groupDescription As String, _
scopeLocal As Boolean, _
hasRestrictedVisibility As Boolean _
) As TeamFoundationIdentity
public TeamFoundationIdentity CreateApplicationGroup(
TeamFoundationRequestContext requestContext,
string projectUri,
string groupName,
string groupDescription,
bool scopeLocal,
bool hasRestrictedVisibility
)
public:
virtual TeamFoundationIdentity^ CreateApplicationGroup(
TeamFoundationRequestContext^ requestContext,
String^ projectUri,
String^ groupName,
String^ groupDescription,
bool scopeLocal,
bool hasRestrictedVisibility
) sealed
abstract CreateApplicationGroup :
requestContext:TeamFoundationRequestContext *
projectUri:string *
groupName:string *
groupDescription:string *
scopeLocal:bool *
hasRestrictedVisibility:bool -> TeamFoundationIdentity
override CreateApplicationGroup :
requestContext:TeamFoundationRequestContext *
projectUri:string *
groupName:string *
groupDescription:string *
scopeLocal:bool *
hasRestrictedVisibility:bool -> TeamFoundationIdentity
public final function CreateApplicationGroup(
requestContext : TeamFoundationRequestContext,
projectUri : String,
groupName : String,
groupDescription : String,
scopeLocal : boolean,
hasRestrictedVisibility : boolean
) : TeamFoundationIdentity
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- projectUri
Type: System.String
groupName
Type: System.Stringname
groupDescription
Type: System.StringDescription. Can be null.
scopeLocal
Type: System.BooleanCan group contain groups from different scope? For example: project groups can only contain project groups from same project.
hasRestrictedVisibility
Type: System.BooleanRestricted visibility.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
IdentityDescriptor for the created group.
Implements
.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.
See Also
Reference
TeamFoundationIdentityService Class