Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 1.35 KB

Get-PnPAuthenticationRealm.md

File metadata and controls

69 lines (49 loc) · 1.35 KB
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Get-PnPAuthenticationRealm

SYNOPSIS

Returns the authentication realm

SYNTAX

Get-PnPAuthenticationRealm [-Url <String>]
                           [-Connection <SPOnlineConnection>]

DESCRIPTION

Gets the authentication realm for the current web

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Get-PnPAuthenticationRealm

This will get the authentication realm for the current connected site

------------------EXAMPLE 2------------------

PS:> Get-PnPAuthenticationRealm -Url https://contoso.sharepoint.com

This will get the authentication realm for https://contoso.sharepoint.com

PARAMETERS

-Url

Specifies the URL of the site

Type: String
Parameter Sets: (All)

Required: False
Position: 0
Accept pipeline input: True

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

OUTPUTS

System.String

RELATED LINKS

SharePoint Developer Patterns and Practices