IdentityHttpClient.CreateScopeAsync Method
Namespace: Microsoft.VisualStudio.Services.Identity.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function CreateScopeAsync ( _
scopeId As Guid, _
parentScopeId As Guid, _
scopeType As GroupScopeType, _
scopeName As String, _
adminGroupName As String, _
adminGroupDescription As String, _
creatorId As Guid, _
userState As Object _
) As Task(Of IdentityScope)
public Task<IdentityScope> CreateScopeAsync(
Guid scopeId,
Guid parentScopeId,
GroupScopeType scopeType,
string scopeName,
string adminGroupName,
string adminGroupDescription,
Guid creatorId,
Object userState
)
public:
Task<IdentityScope^>^ CreateScopeAsync(
Guid scopeId,
Guid parentScopeId,
GroupScopeType scopeType,
String^ scopeName,
String^ adminGroupName,
String^ adminGroupDescription,
Guid creatorId,
Object^ userState
)
member CreateScopeAsync :
scopeId:Guid *
parentScopeId:Guid *
scopeType:GroupScopeType *
scopeName:string *
adminGroupName:string *
adminGroupDescription:string *
creatorId:Guid *
userState:Object -> Task<IdentityScope>
public function CreateScopeAsync(
scopeId : Guid,
parentScopeId : Guid,
scopeType : GroupScopeType,
scopeName : String,
adminGroupName : String,
adminGroupDescription : String,
creatorId : Guid,
userState : Object
) : Task<IdentityScope>
Parameters
- scopeId
Type: System.Guid
- parentScopeId
Type: System.Guid
- scopeType
Type: Microsoft.VisualStudio.Services.Identity.GroupScopeType
- scopeName
Type: System.String
- adminGroupName
Type: System.String
- adminGroupDescription
Type: System.String
- creatorId
Type: System.Guid
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<IdentityScope>
.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.