Class TemporaryAccessPassResponse
Defines a response for a temporary access pass for a User
Inheritance
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.
|
Id
Identifier of the temporary access pass
Declaration
public Guid? Id { get; set; }
Property Value
System.
|
IsUsable
Boolean indicating if the temporary access pass can be used already
Declaration
public bool? IsUsable { get; set; }
Property Value
System.
|
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.
|
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.
|
MethodUsabilityReason
Provides more context around why the pass can or can not be used yet
Declaration
public string MethodUsabilityReason { get; set; }
Property Value
System.
|
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.
|
TemporaryAccessPass
The temporary access pass code
Declaration
public string TemporaryAccessPass { get; set; }
Property Value
System.
|