SASServerDescriptor

@objc
public class SASServerDescriptor : NSObject

Public Interface to a SAS Server Descriptor.

Server descriptor defines the URL, user id, and logon characteristics of a SASServer

Since

since 8.33
  • url

    The URL of this server.

    Since

    since 8.33

    Declaration

    Swift

    public private(set) var url: URL { get }
  • Userid of the connection to this server. Can be nil if this server is connected as the guest user

    Since

    since 8.33

    Declaration

    Swift

    public private(set) var userid: String? { get }
  • The users password. Can be nil if connected as the guest user.

    Since

    since 8.33

    Declaration

    Swift

    public var password: String?
  • Indicates whether this server connected as a guest. This property is not settable. It returns true if the userid is nil

    Since

    since 8.33

    Declaration

    Swift

    public var guestMode: Bool { get }
  • Create a SAS server descriptor. This is used to uniquely identify a server and user combination.

    Since

    Since 8.40.0

    Declaration

    Swift

    public init(_ serverURL: URL, serverUserid: String? = nil)

    Parameters

    serverURL

    The url of the Visual Analytics server

    serverUserId

    This is an optional parameter of the user id. If the userid is nil, guestMode will be set to true.