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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe scope URI.
scopeId
Type: System.StringThe scope name.
scopeName
Type: System.StringThe admin group name.
adminGroupName
Type: System.StringThe admin group description.
- adminGroupDescription
Type: System.String
Return Value
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Descriptor of administrators 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.