OAuth2PermissionGrantOperationsExtensions.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Grants OAuth2 permissions for the relevant resource Ids of an app.
public static Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant Create (this Microsoft.Azure.Graph.RBAC.IOAuth2PermissionGrantOperations operations, Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant body = default);
static member Create : Microsoft.Azure.Graph.RBAC.IOAuth2PermissionGrantOperations * Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant -> Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant
<Extension()>
Public Function Create (operations As IOAuth2PermissionGrantOperations, Optional body As OAuth2PermissionGrant = Nothing) As OAuth2PermissionGrant
Parameters
- operations
- IOAuth2PermissionGrantOperations
The operations group for this extension method.
The relevant app Service Principal Object Id and the Service Principal Object Id you want to grant.
Returns
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET