Search Results for

    Show / Hide Table of Contents

    Class TemporaryAccessPassResponse

    Defines a response for a temporary access pass for a User

    Inheritance
    System.Object
    TemporaryAccessPassResponse
    Namespace: PnP.Framework.Graph.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class TemporaryAccessPassResponse : object

    Properties

    CreatedDateTime

    Date and time on which the temporary access pass has been created

    Declaration
    public DateTime? CreatedDateTime { get; set; }
    Property Value
    System.Nullable<DateTime>

    Id

    Identifier of the temporary access pass

    Declaration
    public Guid? Id { get; set; }
    Property Value
    System.Nullable<Guid>

    IsUsable

    Boolean indicating if the temporary access pass can be used already

    Declaration
    public bool? IsUsable { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    IsUsableOnce

    Boolean indicating if the temporary access pass can only be used once to log in (true) or continously for as long as the pass is valid for (false)

    Declaration
    public bool? IsUsableOnce { get; set; }
    Property Value
    System.Nullable<System.Boolean>

    LifetimeInMinutes

    The time in minutes specifying how long the temporary access pass should be valid for. If not provided, the default duration as configured in Azure Active Directory will be applied.

    Declaration
    public int? LifetimeInMinutes { get; set; }
    Property Value
    System.Nullable<System.Int32>

    MethodUsabilityReason

    Provides more context around why the pass can or can not be used yet

    Declaration
    public string MethodUsabilityReason { get; set; }
    Property Value
    System.String

    StartDateTime

    Date and time on which the temporary access pass should become valid. If not provided, the access pass will be valid immediately.

    Declaration
    public DateTime? StartDateTime { get; set; }
    Property Value
    System.Nullable<DateTime>

    TemporaryAccessPass

    The temporary access pass code

    Declaration
    public string TemporaryAccessPass { get; set; }
    Property Value
    System.String

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer