Class UserGroupMembership
An object that represents the membership of a user in a group. When you add a user to a group, the result is a
UserGroupMembership
with its own OCID. To remove a user from a group, you delete the UserGroupMembership
object.
Inheritance
System.Object
UserGroupMembership
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class UserGroupMembership : object
Properties
CompartmentId
Declaration
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the tenancy containing the user, group, and membership object. |
Remarks
Required
GroupId
Declaration
public string GroupId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the group. |
Remarks
Required
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the membership. |
Remarks
Required
InactiveStatus
Declaration
public System.Nullable<long> InactiveStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The detailed status of INACTIVE lifecycleState. |
LifecycleState
Declaration
public System.Nullable<UserGroupMembership.LifecycleStateEnum> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<UserGroupMembership.LifecycleStateEnum> | The membership's current state. After creating a membership object, make sure its |
Remarks
Required
TimeCreated
Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time the membership was created, in the format defined by RFC3339.
|
Remarks
Required
UserId
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the user. |
Remarks
Required