onelogin.Users
Explore with Pulumi AI
Manage User resources.
This resource allows you to create and configure Users.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as onelogin from "@pulumi/onelogin";
const example = new onelogin.Users("example", {
email: "timmy.tester@test.com",
username: "timmy.tester",
});
import pulumi
import pulumi_onelogin as onelogin
example = onelogin.Users("example",
email="timmy.tester@test.com",
username="timmy.tester")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := onelogin.NewUsers(ctx, "example", &onelogin.UsersArgs{
Email: pulumi.String("timmy.tester@test.com"),
Username: pulumi.String("timmy.tester"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Onelogin = Pulumi.Onelogin;
return await Deployment.RunAsync(() =>
{
var example = new Onelogin.Users("example", new()
{
Email = "timmy.tester@test.com",
Username = "timmy.tester",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.onelogin.Users;
import com.pulumi.onelogin.UsersArgs;
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) {
var example = new Users("example", UsersArgs.builder()
.email("timmy.tester@test.com")
.username("timmy.tester")
.build());
}
}
resources:
example:
type: onelogin:Users
properties:
email: timmy.tester@test.com
username: timmy.tester
Create Users Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Users(name: string, args: UsersArgs, opts?: CustomResourceOptions);
@overload
def Users(resource_name: str,
args: UsersArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Users(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
username: Optional[str] = None,
manager_user_id: Optional[float] = None,
member_of: Optional[str] = None,
directory_id: Optional[float] = None,
distinguished_name: Optional[str] = None,
custom_attributes: Optional[Mapping[str, str]] = None,
external_id: Optional[float] = None,
firstname: Optional[str] = None,
group_id: Optional[float] = None,
lastname: Optional[str] = None,
password: Optional[str] = None,
department: Optional[str] = None,
comment: Optional[str] = None,
manager_ad_id: Optional[float] = None,
phone: Optional[str] = None,
samaccountname: Optional[str] = None,
state: Optional[float] = None,
status: Optional[float] = None,
title: Optional[str] = None,
trusted_idp_id: Optional[float] = None,
company: Optional[str] = None,
userprincipalname: Optional[str] = None,
users_id: Optional[str] = None)
func NewUsers(ctx *Context, name string, args UsersArgs, opts ...ResourceOption) (*Users, error)
public Users(string name, UsersArgs args, CustomResourceOptions? opts = null)
type: onelogin:Users
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UsersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UsersArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UsersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UsersArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var usersResource = new Onelogin.Users("usersResource", new()
{
Email = "string",
Username = "string",
ManagerUserId = 0,
MemberOf = "string",
DirectoryId = 0,
DistinguishedName = "string",
CustomAttributes =
{
{ "string", "string" },
},
ExternalId = 0,
Firstname = "string",
GroupId = 0,
Lastname = "string",
Password = "string",
Department = "string",
Comment = "string",
ManagerAdId = 0,
Phone = "string",
Samaccountname = "string",
State = 0,
Status = 0,
Title = "string",
TrustedIdpId = 0,
Company = "string",
Userprincipalname = "string",
UsersId = "string",
});
example, err := onelogin.NewUsers(ctx, "usersResource", &onelogin.UsersArgs{
Email: pulumi.String("string"),
Username: pulumi.String("string"),
ManagerUserId: pulumi.Float64(0),
MemberOf: pulumi.String("string"),
DirectoryId: pulumi.Float64(0),
DistinguishedName: pulumi.String("string"),
CustomAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
ExternalId: pulumi.Float64(0),
Firstname: pulumi.String("string"),
GroupId: pulumi.Float64(0),
Lastname: pulumi.String("string"),
Password: pulumi.String("string"),
Department: pulumi.String("string"),
Comment: pulumi.String("string"),
ManagerAdId: pulumi.Float64(0),
Phone: pulumi.String("string"),
Samaccountname: pulumi.String("string"),
State: pulumi.Float64(0),
Status: pulumi.Float64(0),
Title: pulumi.String("string"),
TrustedIdpId: pulumi.Float64(0),
Company: pulumi.String("string"),
Userprincipalname: pulumi.String("string"),
UsersId: pulumi.String("string"),
})
var usersResource = new Users("usersResource", UsersArgs.builder()
.email("string")
.username("string")
.managerUserId(0.0)
.memberOf("string")
.directoryId(0.0)
.distinguishedName("string")
.customAttributes(Map.of("string", "string"))
.externalId(0.0)
.firstname("string")
.groupId(0.0)
.lastname("string")
.password("string")
.department("string")
.comment("string")
.managerAdId(0.0)
.phone("string")
.samaccountname("string")
.state(0.0)
.status(0.0)
.title("string")
.trustedIdpId(0.0)
.company("string")
.userprincipalname("string")
.usersId("string")
.build());
users_resource = onelogin.Users("usersResource",
email="string",
username="string",
manager_user_id=0,
member_of="string",
directory_id=0,
distinguished_name="string",
custom_attributes={
"string": "string",
},
external_id=0,
firstname="string",
group_id=0,
lastname="string",
password="string",
department="string",
comment="string",
manager_ad_id=0,
phone="string",
samaccountname="string",
state=0,
status=0,
title="string",
trusted_idp_id=0,
company="string",
userprincipalname="string",
users_id="string")
const usersResource = new onelogin.Users("usersResource", {
email: "string",
username: "string",
managerUserId: 0,
memberOf: "string",
directoryId: 0,
distinguishedName: "string",
customAttributes: {
string: "string",
},
externalId: 0,
firstname: "string",
groupId: 0,
lastname: "string",
password: "string",
department: "string",
comment: "string",
managerAdId: 0,
phone: "string",
samaccountname: "string",
state: 0,
status: 0,
title: "string",
trustedIdpId: 0,
company: "string",
userprincipalname: "string",
usersId: "string",
});
type: onelogin:Users
properties:
comment: string
company: string
customAttributes:
string: string
department: string
directoryId: 0
distinguishedName: string
email: string
externalId: 0
firstname: string
groupId: 0
lastname: string
managerAdId: 0
managerUserId: 0
memberOf: string
password: string
phone: string
samaccountname: string
state: 0
status: 0
title: string
trustedIdpId: 0
username: string
userprincipalname: string
usersId: string
Users Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Users resource accepts the following input properties:
- Email string
- The user's email.
- Username string
- The user's username.
- Comment string
- A comment about the user
- Company string
- The user's company
- Custom
Attributes Dictionary<string, string> - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- Department string
- The user's department
- Directory
Id double - The user's directory_id
- Distinguished
Name string - The user's distinguished name
- External
Id double - The user's external_id
- Firstname string
- The user's first name
- Group
Id double - The user's group_id
- Lastname string
- The user's last name
- Manager
Ad doubleId - The user's manager_ad_id
- Manager
User doubleId - The user's manager_user_id
- Member
Of string - The user's member_of
- Password string
- The user's password. This field is sensitive and will not be displayed in logs or output.
- Phone string
- The user's phone number
- Samaccountname string
- The user's samaccount name
- State double
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- Status double
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- Title string
- The user's title
- Trusted
Idp doubleId - The user's trusted_idp_id
- Userprincipalname string
- The user's user principal name
- Users
Id string - The user's id
- Email string
- The user's email.
- Username string
- The user's username.
- Comment string
- A comment about the user
- Company string
- The user's company
- Custom
Attributes map[string]string - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- Department string
- The user's department
- Directory
Id float64 - The user's directory_id
- Distinguished
Name string - The user's distinguished name
- External
Id float64 - The user's external_id
- Firstname string
- The user's first name
- Group
Id float64 - The user's group_id
- Lastname string
- The user's last name
- Manager
Ad float64Id - The user's manager_ad_id
- Manager
User float64Id - The user's manager_user_id
- Member
Of string - The user's member_of
- Password string
- The user's password. This field is sensitive and will not be displayed in logs or output.
- Phone string
- The user's phone number
- Samaccountname string
- The user's samaccount name
- State float64
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- Status float64
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- Title string
- The user's title
- Trusted
Idp float64Id - The user's trusted_idp_id
- Userprincipalname string
- The user's user principal name
- Users
Id string - The user's id
- email String
- The user's email.
- username String
- The user's username.
- comment String
- A comment about the user
- company String
- The user's company
- custom
Attributes Map<String,String> - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department String
- The user's department
- directory
Id Double - The user's directory_id
- distinguished
Name String - The user's distinguished name
- external
Id Double - The user's external_id
- firstname String
- The user's first name
- group
Id Double - The user's group_id
- lastname String
- The user's last name
- manager
Ad DoubleId - The user's manager_ad_id
- manager
User DoubleId - The user's manager_user_id
- member
Of String - The user's member_of
- password String
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone String
- The user's phone number
- samaccountname String
- The user's samaccount name
- state Double
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status Double
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title String
- The user's title
- trusted
Idp DoubleId - The user's trusted_idp_id
- userprincipalname String
- The user's user principal name
- users
Id String - The user's id
- email string
- The user's email.
- username string
- The user's username.
- comment string
- A comment about the user
- company string
- The user's company
- custom
Attributes {[key: string]: string} - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department string
- The user's department
- directory
Id number - The user's directory_id
- distinguished
Name string - The user's distinguished name
- external
Id number - The user's external_id
- firstname string
- The user's first name
- group
Id number - The user's group_id
- lastname string
- The user's last name
- manager
Ad numberId - The user's manager_ad_id
- manager
User numberId - The user's manager_user_id
- member
Of string - The user's member_of
- password string
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone string
- The user's phone number
- samaccountname string
- The user's samaccount name
- state number
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status number
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title string
- The user's title
- trusted
Idp numberId - The user's trusted_idp_id
- userprincipalname string
- The user's user principal name
- users
Id string - The user's id
- email str
- The user's email.
- username str
- The user's username.
- comment str
- A comment about the user
- company str
- The user's company
- custom_
attributes Mapping[str, str] - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department str
- The user's department
- directory_
id float - The user's directory_id
- distinguished_
name str - The user's distinguished name
- external_
id float - The user's external_id
- firstname str
- The user's first name
- group_
id float - The user's group_id
- lastname str
- The user's last name
- manager_
ad_ floatid - The user's manager_ad_id
- manager_
user_ floatid - The user's manager_user_id
- member_
of str - The user's member_of
- password str
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone str
- The user's phone number
- samaccountname str
- The user's samaccount name
- state float
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status float
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title str
- The user's title
- trusted_
idp_ floatid - The user's trusted_idp_id
- userprincipalname str
- The user's user principal name
- users_
id str - The user's id
- email String
- The user's email.
- username String
- The user's username.
- comment String
- A comment about the user
- company String
- The user's company
- custom
Attributes Map<String> - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department String
- The user's department
- directory
Id Number - The user's directory_id
- distinguished
Name String - The user's distinguished name
- external
Id Number - The user's external_id
- firstname String
- The user's first name
- group
Id Number - The user's group_id
- lastname String
- The user's last name
- manager
Ad NumberId - The user's manager_ad_id
- manager
User NumberId - The user's manager_user_id
- member
Of String - The user's member_of
- password String
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone String
- The user's phone number
- samaccountname String
- The user's samaccount name
- state Number
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status Number
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title String
- The user's title
- trusted
Idp NumberId - The user's trusted_idp_id
- userprincipalname String
- The user's user principal name
- users
Id String - The user's id
Outputs
All input properties are implicitly available as output properties. Additionally, the Users resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Users Resource
Get an existing Users resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UsersState, opts?: CustomResourceOptions): Users
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
company: Optional[str] = None,
custom_attributes: Optional[Mapping[str, str]] = None,
department: Optional[str] = None,
directory_id: Optional[float] = None,
distinguished_name: Optional[str] = None,
email: Optional[str] = None,
external_id: Optional[float] = None,
firstname: Optional[str] = None,
group_id: Optional[float] = None,
lastname: Optional[str] = None,
manager_ad_id: Optional[float] = None,
manager_user_id: Optional[float] = None,
member_of: Optional[str] = None,
password: Optional[str] = None,
phone: Optional[str] = None,
samaccountname: Optional[str] = None,
state: Optional[float] = None,
status: Optional[float] = None,
title: Optional[str] = None,
trusted_idp_id: Optional[float] = None,
username: Optional[str] = None,
userprincipalname: Optional[str] = None,
users_id: Optional[str] = None) -> Users
func GetUsers(ctx *Context, name string, id IDInput, state *UsersState, opts ...ResourceOption) (*Users, error)
public static Users Get(string name, Input<string> id, UsersState? state, CustomResourceOptions? opts = null)
public static Users get(String name, Output<String> id, UsersState state, CustomResourceOptions options)
resources: _: type: onelogin:Users get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Comment string
- A comment about the user
- Company string
- The user's company
- Custom
Attributes Dictionary<string, string> - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- Department string
- The user's department
- Directory
Id double - The user's directory_id
- Distinguished
Name string - The user's distinguished name
- Email string
- The user's email.
- External
Id double - The user's external_id
- Firstname string
- The user's first name
- Group
Id double - The user's group_id
- Lastname string
- The user's last name
- Manager
Ad doubleId - The user's manager_ad_id
- Manager
User doubleId - The user's manager_user_id
- Member
Of string - The user's member_of
- Password string
- The user's password. This field is sensitive and will not be displayed in logs or output.
- Phone string
- The user's phone number
- Samaccountname string
- The user's samaccount name
- State double
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- Status double
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- Title string
- The user's title
- Trusted
Idp doubleId - The user's trusted_idp_id
- Username string
- The user's username.
- Userprincipalname string
- The user's user principal name
- Users
Id string - The user's id
- Comment string
- A comment about the user
- Company string
- The user's company
- Custom
Attributes map[string]string - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- Department string
- The user's department
- Directory
Id float64 - The user's directory_id
- Distinguished
Name string - The user's distinguished name
- Email string
- The user's email.
- External
Id float64 - The user's external_id
- Firstname string
- The user's first name
- Group
Id float64 - The user's group_id
- Lastname string
- The user's last name
- Manager
Ad float64Id - The user's manager_ad_id
- Manager
User float64Id - The user's manager_user_id
- Member
Of string - The user's member_of
- Password string
- The user's password. This field is sensitive and will not be displayed in logs or output.
- Phone string
- The user's phone number
- Samaccountname string
- The user's samaccount name
- State float64
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- Status float64
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- Title string
- The user's title
- Trusted
Idp float64Id - The user's trusted_idp_id
- Username string
- The user's username.
- Userprincipalname string
- The user's user principal name
- Users
Id string - The user's id
- comment String
- A comment about the user
- company String
- The user's company
- custom
Attributes Map<String,String> - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department String
- The user's department
- directory
Id Double - The user's directory_id
- distinguished
Name String - The user's distinguished name
- email String
- The user's email.
- external
Id Double - The user's external_id
- firstname String
- The user's first name
- group
Id Double - The user's group_id
- lastname String
- The user's last name
- manager
Ad DoubleId - The user's manager_ad_id
- manager
User DoubleId - The user's manager_user_id
- member
Of String - The user's member_of
- password String
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone String
- The user's phone number
- samaccountname String
- The user's samaccount name
- state Double
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status Double
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title String
- The user's title
- trusted
Idp DoubleId - The user's trusted_idp_id
- username String
- The user's username.
- userprincipalname String
- The user's user principal name
- users
Id String - The user's id
- comment string
- A comment about the user
- company string
- The user's company
- custom
Attributes {[key: string]: string} - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department string
- The user's department
- directory
Id number - The user's directory_id
- distinguished
Name string - The user's distinguished name
- email string
- The user's email.
- external
Id number - The user's external_id
- firstname string
- The user's first name
- group
Id number - The user's group_id
- lastname string
- The user's last name
- manager
Ad numberId - The user's manager_ad_id
- manager
User numberId - The user's manager_user_id
- member
Of string - The user's member_of
- password string
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone string
- The user's phone number
- samaccountname string
- The user's samaccount name
- state number
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status number
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title string
- The user's title
- trusted
Idp numberId - The user's trusted_idp_id
- username string
- The user's username.
- userprincipalname string
- The user's user principal name
- users
Id string - The user's id
- comment str
- A comment about the user
- company str
- The user's company
- custom_
attributes Mapping[str, str] - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department str
- The user's department
- directory_
id float - The user's directory_id
- distinguished_
name str - The user's distinguished name
- email str
- The user's email.
- external_
id float - The user's external_id
- firstname str
- The user's first name
- group_
id float - The user's group_id
- lastname str
- The user's last name
- manager_
ad_ floatid - The user's manager_ad_id
- manager_
user_ floatid - The user's manager_user_id
- member_
of str - The user's member_of
- password str
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone str
- The user's phone number
- samaccountname str
- The user's samaccount name
- state float
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status float
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title str
- The user's title
- trusted_
idp_ floatid - The user's trusted_idp_id
- username str
- The user's username.
- userprincipalname str
- The user's user principal name
- users_
id str - The user's id
- comment String
- A comment about the user
- company String
- The user's company
- custom
Attributes Map<String> - Map of custom attribute key/value pairs. This field is being deprecated in favor of the onelogin.UserCustomAttributes resource.
- department String
- The user's department
- directory
Id Number - The user's directory_id
- distinguished
Name String - The user's distinguished name
- email String
- The user's email.
- external
Id Number - The user's external_id
- firstname String
- The user's first name
- group
Id Number - The user's group_id
- lastname String
- The user's last name
- manager
Ad NumberId - The user's manager_ad_id
- manager
User NumberId - The user's manager_user_id
- member
Of String - The user's member_of
- password String
- The user's password. This field is sensitive and will not be displayed in logs or output.
- phone String
- The user's phone number
- samaccountname String
- The user's samaccount name
- state Number
- The user's state. Must be one of
0: Unapproved
1: Approved
2: Rejected
3: Unlicensed
- status Number
- The user's status. Must be one of
0: Unactivated
1: Active
2: Suspended
3: Locked
4: Password expired
5: Awaiting password reset
7: Password Pending
8: Security questions required
- title String
- The user's title
- trusted
Idp NumberId - The user's trusted_idp_id
- username String
- The user's username.
- userprincipalname String
- The user's user principal name
- users
Id String - The user's id
Import
A User can be imported via the OneLogin User ID.
$ pulumi import onelogin:index/users:Users example 12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- onelogin onelogin/terraform-provider-onelogin
- License
- Notes
- This Pulumi package is based on the
onelogin
Terraform Provider.