GroupsOperationsExtensions.AddOwner 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.
Add an owner to a group.
public static void AddOwner (this Microsoft.Azure.Graph.RBAC.IGroupsOperations operations, string objectId, Microsoft.Azure.Graph.RBAC.Models.AddOwnerParameters parameters);
static member AddOwner : Microsoft.Azure.Graph.RBAC.IGroupsOperations * string * Microsoft.Azure.Graph.RBAC.Models.AddOwnerParameters -> unit
<Extension()>
Public Sub AddOwner (operations As IGroupsOperations, objectId As String, parameters As AddOwnerParameters)
Parameters
- operations
- IGroupsOperations
The operations group for this extension method.
- objectId
- String
The object ID of the application to which to add the owner.
- parameters
- AddOwnerParameters
The URL of the owner object, such as https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd.