TeamFoundationIdentityService.CreateScope Method
Create a scope for TFS groups (similar to Team Project scope).
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CreateScope ( _
requestContext As TeamFoundationRequestContext, _
scopeId As String, _
scopeName As String, _
adminGroupName As String, _
adminGroupDescription As String _
) As IdentityDescriptor
public IdentityDescriptor CreateScope(
TeamFoundationRequestContext requestContext,
string scopeId,
string scopeName,
string adminGroupName,
string adminGroupDescription
)
public:
virtual IdentityDescriptor^ CreateScope(
TeamFoundationRequestContext^ requestContext,
String^ scopeId,
String^ scopeName,
String^ adminGroupName,
String^ adminGroupDescription
) sealed
abstract CreateScope :
requestContext:TeamFoundationRequestContext *
scopeId:string *
scopeName:string *
adminGroupName:string *
adminGroupDescription:string -> IdentityDescriptor
override CreateScope :
requestContext:TeamFoundationRequestContext *
scopeId:string *
scopeName:string *
adminGroupName:string *
adminGroupDescription:string -> IdentityDescriptor
public final function CreateScope(
requestContext : TeamFoundationRequestContext,
scopeId : String,
scopeName : String,
adminGroupName : String,
adminGroupDescription : String
) : IdentityDescriptor
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
scopeId
Type: System.StringScope URI.
scopeName
Type: System.StringName.
adminGroupName
Type: System.StringAdmin group name.
adminGroupDescription
Type: System.StringAdmin group description.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Descriptor of administrators 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.