Show / Hide Table of Contents

Class Principal

Inheritance
object
Principal
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.IdentitydataplaneService.Models
Assembly: OCI.DotNetSDK.Identitydataplane.dll
Syntax
public class Principal

Properties

Claims

Declaration
[Required(ErrorMessage = "Claims is required.")]
[JsonProperty(PropertyName = "claims")]
public List<Claim> Claims { get; set; }
Property Value
Type Description
List<Claim>

The set of claims for this principal.

Remarks

Required

SubjectId

Declaration
[Required(ErrorMessage = "SubjectId is required.")]
[JsonProperty(PropertyName = "subjectId")]
public string SubjectId { get; set; }
Property Value
Type Description
string

The user's OCID.

Remarks

Required

TenantId

Declaration
[Required(ErrorMessage = "TenantId is required.")]
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
Property Value
Type Description
string

The tenancy OCID.

Remarks

Required

In this article
Back to top