Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Use this data source to retrieve information about an identity user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const myUser = ovh.Me.getIdentityUser({
user: "my_user_login",
});
import pulumi
import pulumi_ovh as ovh
my_user = ovh.Me.get_identity_user(user="my_user_login")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := me.GetIdentityUser(ctx, &me.GetIdentityUserArgs{
User: "my_user_login",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var myUser = Ovh.Me.GetIdentityUser.Invoke(new()
{
User = "my_user_login",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Me.MeFunctions;
import com.pulumi.ovh.Me.inputs.GetIdentityUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myUser = MeFunctions.getIdentityUser(GetIdentityUserArgs.builder()
.user("my_user_login")
.build());
}
}
variables:
myUser:
fn::invoke:
function: ovh:Me:getIdentityUser
arguments:
user: my_user_login
Using getIdentityUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIdentityUser(args: GetIdentityUserArgs, opts?: InvokeOptions): Promise<GetIdentityUserResult>
function getIdentityUserOutput(args: GetIdentityUserOutputArgs, opts?: InvokeOptions): Output<GetIdentityUserResult>def get_identity_user(user: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityUserResult
def get_identity_user_output(user: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityUserResult]func LookupIdentityUser(ctx *Context, args *LookupIdentityUserArgs, opts ...InvokeOption) (*LookupIdentityUserResult, error)
func LookupIdentityUserOutput(ctx *Context, args *LookupIdentityUserOutputArgs, opts ...InvokeOption) LookupIdentityUserResultOutput> Note: This function is named LookupIdentityUser in the Go SDK.
public static class GetIdentityUser
{
public static Task<GetIdentityUserResult> InvokeAsync(GetIdentityUserArgs args, InvokeOptions? opts = null)
public static Output<GetIdentityUserResult> Invoke(GetIdentityUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityUserResult> getIdentityUser(GetIdentityUserArgs args, InvokeOptions options)
public static Output<GetIdentityUserResult> getIdentityUser(GetIdentityUserArgs args, InvokeOptions options)
fn::invoke:
function: ovh:Me/getIdentityUser:getIdentityUser
arguments:
# arguments dictionaryThe following arguments are supported:
- User string
- User's login.
- User string
- User's login.
- user String
- User's login.
- user string
- User's login.
- user str
- User's login.
- user String
- User's login.
getIdentityUser Result
The following output properties are available:
- Creation string
- Creation date of this user.
- Description string
- User description.
- Email string
- User's email.
- Group string
- User's group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update of this user.
- Login string
- User's login suffix.
- Password
Last stringUpdate - When the user changed his password for the last time.
- Status string
- Current user's status.
- User string
- User
URN string - User's identity URN.
- Creation string
- Creation date of this user.
- Description string
- User description.
- Email string
- User's email.
- Group string
- User's group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - Last update of this user.
- Login string
- User's login suffix.
- Password
Last stringUpdate - When the user changed his password for the last time.
- Status string
- Current user's status.
- User string
- User
URN string - User's identity URN.
- User
URN String - User's identity URN.
- creation String
- Creation date of this user.
- description String
- User description.
- email String
- User's email.
- group String
- User's group.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update of this user.
- login String
- User's login suffix.
- password
Last StringUpdate - When the user changed his password for the last time.
- status String
- Current user's status.
- user String
- User
URN string - User's identity URN.
- creation string
- Creation date of this user.
- description string
- User description.
- email string
- User's email.
- group string
- User's group.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update string - Last update of this user.
- login string
- User's login suffix.
- password
Last stringUpdate - When the user changed his password for the last time.
- status string
- Current user's status.
- user string
- creation str
- Creation date of this user.
- description str
- User description.
- email str
- User's email.
- group str
- User's group.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
update str - Last update of this user.
- login str
- User's login suffix.
- password_
last_ strupdate - When the user changed his password for the last time.
- status str
- Current user's status.
- user str
- user_
urn str - User's identity URN.
- User
URN String - User's identity URN.
- creation String
- Creation date of this user.
- description String
- User description.
- email String
- User's email.
- group String
- User's group.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - Last update of this user.
- login String
- User's login suffix.
- password
Last StringUpdate - When the user changed his password for the last time.
- status String
- Current user's status.
- user String
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
