Gets profile.

@return the profile
196104
public CasServerProfile getProfile() {
        val profile = new CasServerProfile();
        profile.setRegisteredServiceTypesSupported(locateRegisteredServiceTypesSupported());
        profile.setRegisteredServiceTypes(locateRegisteredServiceTypesActive());
        profile.setMultifactorAuthenticationProviderTypesSupported(locateMultifactorAuthenticationProviderTypesSupported());
        profile.setMultifactorAuthenticationProviderTypes(locateMultifactorAuthenticationProviderTypesActive());
        profile.setDelegatedClientTypesSupported(locateDelegatedClientTypesSupported());
        profile.setDelegatedClientTypes(locateDelegatedClientTypes());
        profile.setAvailableAttributes(this.availableAttributes);
        return profile;
    }
923984
public File getPropsFile() {
		String homedir = System.getProperty("user.home"); //$NON-NLS-1$
		String filename = getPropsFilename();
		return filename != null ? new File(homedir, filename) : null;
	}
1028538
public function getProfileAlias()
    {
        $link = $this->getProfile();
        if ($link && $link->href) {
            $guidOrAlias = explode('/', $link->href);
            $guidOrAlias = end($guidOrAlias);
            return isset(self::$_profileAliases[$guidOrAlias]) ? self::$_profileAliases[$guidOrAlias] : $guidOrAlias;
        } else {
            return null;
        }
    }
764075
public String getProfilesCSV() {
        String profiles = substringBeforeLast(command, " "); // remove goal
        profiles = substringAfterLast(profiles, "-P");
        return profiles.trim();
    }
244463
function getProfile() {

		$profile['users_id'] = $this->userId;
		foreach ( $this->profileMetaKeys as $key => $type ) {
			$profile[ $key ] = get_user_meta( $this->userId, $key, true );
		}

		return $profile;
	}
1160259
public Set<IoEventType> getEventsToProfile() {
        Set<IoEventType> set = new HashSet<>();
        
        if ( profileMessageReceived ) {
            set.add(IoEventType.MESSAGE_RECEIVED);
        }
        
        if ( profileMessageSent) {
            set.add(IoEventType.MESSAGE_SENT);
        }
        
        if ( profileSessionCreated ) {
            set.add(IoEventType.SESSION_CREATED);
        }
        
        if ( profileSessionOpened ) {
            set.add(IoEventType.SESSION_OPENED);
        }
        
        if ( profileSessionIdle ) {
            set.add(IoEventType.SESSION_IDLE);
        }
        
        if ( profileSessionClosed ) {
            set.add(IoEventType.SESSION_CLOSED);
        }
        
        return set;
    }
349391
public Profile getProfile() throws IOException, KiteException, JSONException {
        String url = routes.get("user.profile");
        JSONObject response = new KiteRequestHandler(proxy).getRequest(url, apiKey, accessToken);
        return gson.fromJson(String.valueOf(response.get("data")), Profile.class);
    }
1231771
def getProfile(self):
        
        if self._create:
            return ObjectProfile()
        else:
            if self._profile is None:
                r = self.api.getObjectProfile(self.pid)
                self._profile = parse_xml_object(ObjectProfile, r.content, r.url)
            return self._profile
372298
protected int getCurrentSelection() {
        if (mCurrentProfile != null && mProfiles != null) {
            int i = 0;
            for (IProfile profile : mProfiles) {
                if (profile == mCurrentProfile) {
                    return i;
                }
                i++;
            }
        }
        return -1;
    }
100449
def get_profiles(self):
        
        out = set(x.profile for x in self.requires if x.profile)
        out.update(x.profile for x in self.removes if x.profile)
        return out
892791
public function getProfile($id)
    {
        return $this->send($this->getHttp()->get($this->url.'profiles/'.$id.'.json'));
    }
557234
String getProfileId() {
        final RxComapiClient client = clientReference.get();
        return client != null ? client.getSession().getProfileId() : null;
    }
287634
public function profile($config = null) {
		if ($config === null) {
			return $this->getProfile();
		}

		return $this->setProfile($config);
	}
176741
protected ProfileRequestContext<?, ?> getProfileRequestContext(HttpServletRequest httpRequest) throws ExternalAuthenticationException {
    return ExternalAuthentication.getProfileRequestContext(this.getExternalAuthenticationKey(httpRequest), httpRequest);
  }
1096337
public Integer getIdFromName(String profileName) {
        PreparedStatement query = null;
        ResultSet results = null;

        try (Connection sqlConnection = sqlService.getConnection()) {
            query = sqlConnection.prepareStatement("SELECT * FROM " + Constants.DB_TABLE_PROFILE +
                                                       " WHERE " + Constants.PROFILE_PROFILE_NAME + " = ?");
            query.setString(1, profileName);
            results = query.executeQuery();
            if (results.next()) {
                Object toReturn = results.getObject(Constants.GENERIC_ID);
                query.close();
                return (Integer) toReturn;
            }
            query.close();
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            try {
                if (results != null) {
                    results.close();
                }
            } catch (Exception e) {
            }
            try {
                if (query != null) {
                    query.close();
                }
            } catch (Exception e) {
            }
        }
        return null;
    }
221658
public List<CarbonProfile> getProfileList()
	{
		final List<CarbonProfile> profiles = new ArrayList<CarbonProfile>();

		Element profileList = element.getChild("ProfileList");

		if (profileList != null)
		{
			for (Element profileElement : profileList.getChildren())
			{
				CarbonProfile profile = new CarbonProfile(profileElement);

				profiles.add(profile);
			}
		}

		return profiles;
	}
985120
private Iterator<Entry> getBasicIterator() {
        EntryList result = vertex.loadRelations(sliceQuery, new Retriever<SliceQuery, EntryList>() {
            @Override
            public EntryList get(SliceQuery query) {
                return QueryProfiler.profile(profiler,query, q -> tx.getGraph().edgeQuery(vertex.longId(), q, tx.getTxHandle()));
            }
        });
        return result.iterator();
    }