VerifyEntitlementTokenResponse.UserId property

Gets or sets the purchaser ID. This is an encrypted value of the Microsoft account used by the person who purchased the app.

Namespace:  VerificationSvc
Assembly:  SP15MrefVerificationSvc (in SP15MrefVerificationSvc.dll)

Syntax

'Declaration
Public Property UserId As String
    Get
    Set
'Usage
Dim instance As VerifyEntitlementTokenResponse
Dim value As String

value = instance.UserId

instance.UserId = value
public string UserId { get; set; }

Property value

Type: System.String
An encrypted value based on the app purchaser’s Microsoft account.

Remarks

Note

The properties of the VerifyEntitlementTokenResponse object are provided for developers to verify property values of an app license. Setting these properties only changes the local copy of the license token; it has no effect on the license stored by the Office Store.

See also

Reference

VerifyEntitlementTokenResponse class

VerifyEntitlementTokenResponse members

VerificationSvc namespace

Other resources

License your apps for Office and SharePoint

How to: Add license checks to your apps for Office

How to: Add license checks to your app for SharePoint