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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextIf null or empty, the group will be created at the server scope; or the group will be created at the scope per this parameter.
projectUri
Type: System.StringThe group name.
groupName
Type: System.StringThe description. Can be null.
groupDescription
Type: System.StringCan group can contain groups from different scope? (for example project groups can only contain project groups from same project.)
scopeLocal
Type: System.BooleanThe restricted visibility.
- hasRestrictedVisibility
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
IdentityDescriptor for the created group.
.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
ITeamFoundationIdentityService Interface